Feature of function name:
1. Function name is constant pointer.
Example:
What will be output of following program?
#include
void special();
int main(){
special++;
special();
return 0;
}
void special(){
printf("HI");
}
Output: Error, Lvalued required.
Explanation: Function name is constant pointer. So you cannot increment function
No comments:
Post a Comment