C Programming Question and Answers

61. What is the syntax for comments in C?
  Below is the syntax for comments in C. The characters or words or anything which are given between "/*" and "*/", won't be considered by C compiler for compilation process. These will be ignored by C compiler during compilations.
Syntax : /* your comments here */
 
Your Name Your Email-ID
Your Answer
62. What are reserved words?
 
  • Reserved words are words that are part of the standard C language library.
  • This means that reserved words have special meaning and therefore cannot be used for purpose other than what it is originally intended for.
  • Examples of reserved words are int, void and return.
 
Your Name Your Email-ID
Your Answer
63. What is the difference between getch() and getche()?
  Both getch() and getche() are used to read single character there is very little difference
  • Both functions accept a character input value from the user.
  • When getch() is used, the key that was pressed will not appear on the screen. It is automatically captured and assigned to a variable.
  • While when getche() is used, the key that was pressed by the user appears on the screen and is assigned to a variable.
 
Your Name Your Email-ID
Your Answer
64. What are actual arguments?
  When you create and use functions that need to perform an action on some given values, you need to pass these given values to that function. The values that are being passed into the called functions are referred to as actual arguments.
 
Your Name Your Email-ID
Your Answer