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 |
Difference between C and Embedded C?
struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?
How can I implement sets or arrays of bits?
How to delete a node from linked list w/o using collectons?
write a program to concatenation the string using switch case?
What's the difference between calloc() and malloc()?
How do you determine a file’s attributes?
how to generate sparse matrix in c
What is the data segment that is followed by c?
Tell us the use of fflush() function in c language?
What is a MAC Address?
Write a program that receives as input a number omaadel-n-print, four digits.