What will be the output of
x++ + ++x?

Answer Posted / srinivas

for this what is the input value of x.First of all we have
to give the input value of x.
if x = 1 then answer would be
main();
int x=1,y.
y = x++ + ++x.
printf /n'%d',y.
here y = 3

Is This Answer Correct ?    11 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you generate random numbers in c?

613


how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions

2715


Describe the difference between = and == symbols in c programming?

769


Can stdout be forced to print somewhere other than the screen?

612


Explain what is the best way to comment out a section of code that contains comments?

710






Which header file is used for clrscr?

569


What are the types of data structures in c?

594


What does c value mean?

614


What is return in c programming?

503


Subtract Two Number Without Using Subtraction Operator

346


Is anything faster than c?

575


What is floating point constants?

678


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1895


Mention four important string handling functions in c languages .

617


What are register variables? What are the advantage of using register variables?

671