answersLogoWhite

0

#include <stdio.h>

The function getchar() returns an int corresponding to the next character in standard input. The value EOF indicates error or end-of-file.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

Explain the four basic data type in C. What is the size in byte of each type in DOS and UNIX platforms?

1. 'Explain' is not a question, but here you are:unsigned char: a number between 0 and 255signed char: a number between -128 and 127unsigned short: a number between 0 and 65535signed short: a number between -32768 and 327672. sizeof (type) will tell you


What is lvalue explain with example?

left-value: an expression that can be target of assignement. eg: array[x+1]-&gt;field = 100; # okay 100 = 200; # NOT okay: not lvalue intvar = 100; # okay (char *)intvar = "STR"; # NOT okay: not lvalue *(char **)&amp;intvar = "STR"; okay


How do you write words using CHAR function?

The CHAR function in Excel or other spreadsheet applications is used to return a character specified by a code number. For example, CHAR(65) returns the letter &quot;A&quot; because 65 is the ASCII code for &quot;A.&quot; To write words using the CHAR function, you can concatenate multiple CHAR functions together, such as =CHAR(72) &amp; CHAR(101) &amp; CHAR(108) &amp; CHAR(108) &amp; CHAR(111) to spell &quot;Hello.&quot; This method allows you to create strings by combining the ASCII values of the desired characters.


How do you apply if in char type in c plus plus?

char x = "C"; if(char == 'C') { } else { }


Program to copy one string to another?

As usual, you should check official documentation before you ask a question like this. string.h // Copies num characters from source into destination. char* strncpy (char* destination, const char* source, size_t num); // Copies characters from source into destination. char* strcpy (char* destination, const char* source);

Related Questions

How do you sue Yahoo execlamation point dotcom for wrongful death?

Consult with an attorney in your jurisdiction who can review the details and explain your options.Consult with an attorney in your jurisdiction who can review the details and explain your options.Consult with an attorney in your jurisdiction who can review the details and explain your options.Consult with an attorney in your jurisdiction who can review the details and explain your options.


How do you discussed the noting details?

explain the noting details


Is char a identical to char a?

'char a' and 'char a' are identical.


How do you explain the types of transmission in detail?

explain the types of tranmission in details?


How do you initialize a structure?

struct Details { string name; int age; char gender; } Stud{"Phumlani", 21, "M"};


How do you initialize structures?

struct Details { string name; int age; char gender; } Stud{"Phumlani", 21, "M"};


How do you explain Article 2 Section 9 of 1987 Phil Constitution?

tanong mo sa char ni babe


Explain in details the relationship between economics facts theory and policy?

explain in details the relationships between economics facts, theory and policy.


What details explain landforms?

the details to explain it is the fact that they are so important to the earths surface for exaple a land formare featured in mountains,vallies and hills.


What category of job your looking for and why explain detail?

What category of job are you looking for and why? explain in details.


Are the three declaration char a char a and char c same?

Yes.


What is the abbreviation of Charleston?

char or you can say char harbor as in the harbor of char