#include <iostream>
using namespace std;
#include <cstdio>
#include <cstdlib>
int *fun(){
int a = 5;
return &a;
}
void fun1(){
int b = 1112;
}
int main(){
int *q;
q = fun();
fun1();
printf("%d\n",q[0]);
system("pause");
return 0;
}
using namespace std;
#include <cstdio>
#include <cstdlib>
int *fun(){
int a = 5;
return &a;
}
void fun1(){
int b = 1112;
}
int main(){
int *q;
q = fun();
fun1();
printf("%d\n",q[0]);
system("pause");
return 0;
}