What will be the output of
x++ + ++x?
Answer Posted / sadashiv
these type of expression evaluation is dependent on
compiler
if u use turbo c and x =1;
then answer would be
main();
int x=1,y.
y = x++ + ++x.
printf /n'%d',y.
here y = 4
| Is This Answer Correct ? | 144 Yes | 32 No |
Post New Answer View All Answers
Explain Function Pointer?
What is output redirection?
Explain what is the difference between a string and an array?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is nested structure in c?
How is = symbol different from == symbol in c programming?
What is the size of structure in c?
while initialization of array why we use a[][2] why not a[2][]...?
What is the scope of static variable in c?
Why & is used in scanf in c?
How can I find out if there are characters available for reading?
Explain what is gets() function?
What does %p mean c?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is the difference between typedef struct and struct?