#include<iostream>
using namespace std;
void f1(){
cout<<"entered into f1";
void f2(){cout<<"entered f2";}
}
int main(){f1();
system("pause");
return 0;
}
// if we define one function inside another function as above we are getting error .why is this happening.