main()
{
int i;
printf("%d", &i)+1;
scanf("%d", i)-1;
}
Answer / 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 |
In c programming language, how many parameters can be passed to a function ?
What is c programing language?
whats the use of header file in c?
Difference between goto, long jmp() and setjmp()?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} what would be the output?
I have seen function declarations that look like this
How to write a program for swapping two strings without using 3rd variable and without using string functions.
What is the significance of c program algorithms?
How can I access a memory located at certain address?
How can I find out how much free space is available on disk?
which of the following go out of the loopo if expn 2 becoming false a.while(expn 1){...if(expn 2)continue;} b.while(!expn 1){if(expn 2)continue;...} c.do{..if(expn 1)continue;..}while(expn 2); d.while(!expn 2){if(expn 1)continue;..}
how can we Declare a variable in c without defining it.