prog.c: In function ‘main’:
prog.c:5:16: error: ‘g’ undeclared (first use in this function)
scanf ("%d", &g);
^
prog.c:5:16: note: each undeclared identifier is reported only once for each function it appears in
prog.c:6:2: warning: implicit declaration of function ‘print’; did you mean ‘printf’? [-Wimplicit-function-declaration]
print("Your age is %d\n", age);
^~~~~
printf