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 |
Differentiate between the expression “++a” and “a++”?
Are global variables static in c?
Explain about C function prototype?
Do you have any idea how to compare array with pointer in c?
How to create struct variables?
How do you view the path?
what defference between c and c++ ?
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why?
How can I convert integers to binary or hexadecimal?
A program to allow an input operand and operator from the operator and read on the display and output operand.
What does. int *x[](); means ?
write a own function for strstr