A
Q. What will be output of the following c code?
Code:
void main(){
static main;
int x;
x=call(main);
clrscr();
printf(“%d “,x);
getch();
}
int call(int address){
address++;
return address;
}
static main;
int x;
x=call(main);
clrscr();
printf(“%d “,x);
getch();
}
int call(int address){
address++;
return address;
}
- Correct Answer - Option(B)
- Views: 26
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.