C FAQ's
C Faq's
It returns a character just entered from the standard input unit. The entered character is echoed (displayed) to the computer screen. It reads a single character the moment it is typed without waiting for the Enter key to be hit.
It returns a character just entered from the standard input unit. The entered character is not echoed on the screen. It reads a single character the moment it is typed without waiting for the Enter key to be hit.
It prints the character constant or the character variable to the standard output device. The function putchar( ) has the following form :putchar (var name)
? It reduces the complexity in a program by reducing the code ? Function are easily understanding and reliability and execution is faster ? It also reduces the time to run a program.In other way, Its directly proportional to complexity ? Its easy to find-out the errors due to the blocks made as function definition outside the main function
The else if ladder helps select one out of many alternative blocks of statements for execution depending on the mutually exclusive conditions.
Two dimensional arrays follow row major order storage representation .The elements are stored in row by row in the subsequent memory locations.
The value returned by sizeof (char) is always 1 since char uses only one byte in any machine. For other data types, the number of bytes used to represent a data type depends on the implementation of a compiler.
The operators can be defined as symbols which specify operations to be performed. The C language includes a number of operators. These operators are used in different combinations to form expressions. The data items on which the operators act upon are known as operands.
The switch expression may be any integral type only but the condition in. if?else?if ladder may be designed with arithmetic, boolean or user defined data items.
C provides three looping structures. They are ? The While loop ? The do while loop ? The for loop