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
Is main an identifier in c?
What is c value paradox explain?
Write a code to generate a series where the next element is the sum of last k terms.
Differentiate fundamental data types and derived data types in C.
What are the application of c?
Explain what are compound statements?
How can I dynamically allocate arrays?
In a switch statement, what will happen if a break statement is omitted?
What is data structure in c programming?
What is a lookup table in c?
Explain what’s a signal? Explain what do I use signals for?
Why isnt there a numbered, multi-level break statement to break out
Explain built-in function?
What is a method in c?
What is the use of extern in c?