#include<stdio.h> #include<stdio.h> #include<conio.h> #include<conio.h> int *call() int *call() { int x=5; { int x=5; ++x; ++x; return &x; return &x; } } void main() void main() { int *ptr; { clrscr(); int *ptr; ptr=call(); ptr=call(); clrscr(); printf("value:%d",*ptr); printf("value:%d",*ptr); } }
ptr
clrscr
class
x
main
call
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)