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 |
input may any number except 1,output will always 1.. conditions only one variable should be declare,don't use operators,expressions,array,structure
What is the mean of function?
diff between exptected result and requirement?
what do you mean by enumeration constant?
I have a varargs function which accepts a float parameter?
Can you write the algorithm for Queue?
0 Answers College School Exams Tests, TCS,
Define function ?Explain about arguments?
2 Answers Geometric Software, Infosys,
How do we select the big element or any other operation from array which is read dynamically. user need to give the elements only no need to mention the size.
Can anyone help me with this please? Need to print the below values.. Thanks 1 1 2 1 2 3 1 2 3 4
Why doesnt that code work?
What are different storage class specifiers in c?
What is pass by reference in functions?