What will be the output of
x++ + ++x?
Answer Posted / debashree
#include<stdio.h>
int main()
{
int x=1,y;
y=x++ + ++x;
printf("y=%d\n",y);
return 0;
}
o/p->
y=4
| Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
What is structure in c language?
What is ctrl c called?
Explain how do you convert strings to numbers in c?
Difference between Function to pointer and pointer to function
Tell me the use of bit field in c language?
What is the data segment that is followed by c?
Does free set pointer to null?
What is the -> in c?
What is the difference between malloc calloc and realloc in c?
How can you increase the size of a statically allocated array?
How can you convert integers to binary or hexadecimal?
Explain the properties of union.
What is structure in c explain with example?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference