Friday 29 May 2009

Name of function is case sensitive in c programming




C programming language is case sensitive. Function is not exception of this. 



Example:



#include

int main(){

   CQUESTIONBANK();

   return 0;

}

int cquestionbank(){

   printf("BLOCK 1");

   return 0;

}

int CQUESTIONBANK(){

   printf("BLOCK 2");

   return 1;

}



Output: BLOCK 2




Definition of function in c
Name of

No comments:

Post a Comment