main()
{
int i;
printf("%d", &i)+1;
scanf("%d", i)-1;
}
Answer Posted / abhishek marshetty
Explanation: printf( ) prints address/garbage of i, scanf() dont have & sign, so scans address for i +1, -1 dont have any effect on code.
| Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
Do array subscripts always start with zero?
What is variable in c example?
What is #include called?
Can you add pointers together? Why would you?
What is strcpy() function?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
write a program in c language to print your bio-data on the screen by using functions.
What does %2f mean in c?
what does static variable mean?
What does the c in ctime mean?
What are the different file extensions involved when programming in C?
What is a const pointer in c?
What is array of pointers to string?
What does %c do in c?