0
Can someone explain me this code ?
#include<stdio.h> void foo(); int main() { void (*bar)() = foo; (*bar)(); bar(); return 0; } void foo(){ printf("SoloLearn "); } // Output --- SoloLearn SoloLearn
1 Antwort
0
Before main there is a definition of foo function.
In main u create function pointer and call function by it twice