Summary

  1. The three primary constant and variable types in C are integer, float, and character.
  2. A variable name is identified by its first 31 letters.
  3. A keyword can't be used as variable name. 
  4. An expression may contain any sequence of constants, variables, and operators.
  5. When there are two or more operators with same priority in an expression then their order of evaluation is decided by the associativity. 
  6. Left-to-right (L-R) associativity means that the left operand of operator must be unambiguous. 
  7. Right-to-left (R-L) associativity means that the right operand of operator must be un ambiguous. 
  8. scan( ) built-in function is used to take input from user using keboard.
  9. printf( ) built-in function is used to output data to display for user. 


Last modified: Thursday, 18 November 2021, 2:12 PM