Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
Main() { int i; clrscr(); printf("%d", &i)+1; scanf("%d", i)-1; }
B) Compile error. Illegal syntax
C) None of the above
D) Runtime error
Explanation: printf( ) prints address/garbage of i, scanf() dont have & sign, so scans address for i +1, -1 dont have any effect on code.
Related Answered Questions
Related Open Questions