Can someone explain me this program please
#include <stdio.h>
void print(void)
{
printf("g");
}
int main()
{
void(*message)(void);
print(); // i have doubt here it g
message = print; // now here why it is printin g again
(*message)();
return 0;
}
this program brings a void
function at first which is just printf
now when we go to main
function the first line indicates the pointer message which is void it didn't get the cose afterwards