void main()
{
int i=5;
printf("%d",i++ + ++i);
}
Answers were Sorted based on User's Feedback
Answer / sachin
ans :11
how?
-> i++ => i=i+1 => i=6;
-> ++i => i=i =>i=5(first assign the value);
i=i+1;
so i++ + ++i=6 + 5=11 i.e.ans
| Is This Answer Correct ? | 3 Yes | 31 No |
What are static functions?
The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters
Is c object oriented?
how to swap two integers 1 and 32767 without using third variable
How to reverse a string using a recursive function, without swapping or using an extra memory?
31 Answers Cisco, Mind Tree, Motorola, Ophio, Sony, TCS, Wipro,
Software Interview Questions
wt is diference between int and int pointer as same as float and float pointer and char and char pointer
How are Structure passing and returning implemented by the complier?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
Who invented bcpl language?
How can we allocate array or structure bigger than 64kb?
Explain how do you determine a file’s attributes?