What happens if you compile and run the following c code? void main () static main; int x; x=call(main); clrscr(); printf(" percent d ",x); getch(); int call(int address) address+; return address;
A. 0
B. 1
C. Garbage value
D. Compiler error
Answer:B
What happens if you compile and run the following c code? void main () static main; int x; x=call(main); clrscr(); printf(" percent d ",x); getch(); int call(int address) address+; return address;
A. 0 B. 1 C. Garbage value D. Compiler error
Explanation: 1