Hi ,
I read that c is not a block structured language.
means it does not allow defining functions inside other functions.
but this code is not generating any error not even warnings, though we nest the functions.
whats the story.
#include<stdio.h>
int main() {
int num;
num = 10;
int fun(int n) {
printf("The local function");
return 0;
}
fun(num);
printf("Main function");
return 0;
}