Friday 29 May 2009

Name of function cannot be global identifier: Example


  

In c programming language name of function cannot be global identifiers. We function name will global identifiers then it will cause of compilation error.



(1) Program to find area of any circle.



#include 

#include 

float __radius__(float);



int main(){

   float r,a;

   printf("Radius of circle ");

   scanf("%f", &r);

   a=__radius__(r

No comments:

Post a Comment