I read that nested function don't exist in C. I then successfully executed the following piece of code using the cc command on my linux machine.
#include <stdio.h>
#include <string.h>
int main(){
float dummy(){
printf("hello\n");
}
dummy();
return 0;
}
I got the the output hello
.
How does that play out? Does my compiler support nested functions?