in Programming retagged by
585 views
0 votes
0 votes

#include<stdio.h>

int main ( )

{

  int demo ( ); // What is this and what does it do?

   demo ( );

   (*demo) ( );

}

int demo ( )

{

   printf("Morning");

}
 

in Programming retagged by
585 views

3 Comments

1
1
It is a declaration of demo()
2
2

  int demo ( ); // What is this and what does it do? ->> declaration of function..

   (*demo) ( ); but this notation says...demo is a pointer to function..

0
0

Please log in or register to answer this question.