Wednesday 11 July 2012

C Language

C Language Notes -

  • In a C program if a programmer assign a value to an array element whose subscript exceeds the size of the array, the program may crash. But the modern day compilers take care of this problem.
  • In C if the programmer passes an array name as an argument to a function the base address of the array will be passed.
  • (void *)0 represents a NULL pointer.
  • NULL Macro is defined in stdio.h and stddef.h header files.

No comments:

Post a Comment