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
What is queue in c?
What is new line escape sequence?
What is the g value paradox?
What is the difference between typedef and #define?
What does p mean in physics?
Combinations of fibanocci prime series
What is the use of linkage in c language?
What are types of structure?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What is a node in c?
What is array in c with example?
What are pointers?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
What is the use of header?
What header files do I need in order to define the standard library functions I use?