C Programming Question and Answers

45. What is the difference between the expression "++a" and "a++"?
 
  • With ++a, the increment happens first on variable a, and the resulting value is used. This is called as Prefix increment.
  • With a++, the current value of the variable will be used in an operation. This is called as postfix increment.
 
Your Name Your Email-ID
Your Answer
46. What are the types of I/O statements available in C?
  There are two types of I/O statements available in C:
  • Formatted I/O Statements
  • Unformatted I/O Statements
 
Your Name Your Email-ID
Your Answer
47. Do function prototypes get stored in executable file?
 
  • No. The compiler uses these functions prototypes at the time of compilation.
  • Therefore, once the program is compiled, they are not required.
  • Hence they are not stored in executable file.
 
Your Name Your Email-ID
Your Answer
48. Define pre–processor?
  It is a program that processor the source code before it passes to the compiler.
 
Your Name Your Email-ID
Your Answer