Programming Facts of C Programming

  • ““? : ” is the only ternary operator in C language.
  • “sizeof” is the only operator which is also a keyword.
  • In printf() and scanf(), f stands for formatted not function.
  • Compiler doesn’t know header file, preprocessor processes these and expands source code.
  • Header file name can be included in 2 ways, (a) Using angular brackets (b) Using double inverted comma.
  • Compiler generates assembly code not machine code and then assembler generates the machine code.
  • sizeof operator cannot tell us the size of functions because this operator works on compile time and functions loads in memory at run time.
Posted on by