main()
{
int x=10,y=15;
x=x++;
y=++y;
printf("%d %d\n",x,y);
}
output??
Answer Posted / gita
the answer is 10,16.
because x=x++;
means first assign after that that is incremented.
in case of y=++y;
first increment operation is performed. after that assigned.
Is This Answer Correct ? | 17 Yes | 4 No |
Post New Answer View All Answers
Why is C language being considered a middle level language?
ATM machine and railway reservation class/object diagram
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
Explain what is meant by high-order and low-order bytes?
What are pointers? What are stacks and queues?
how should functions be apportioned among source files?
What is spark map function?
List some applications of c programming language?
How can a string be converted to a number?
What is NULL pointer?
Explain how to reverse singly link list.
What are the disadvantages of external storage class?
What does 3 periods mean in texting?
Why can arithmetic operations not be performed on void pointers?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......