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
Explain how do you generate random numbers in c?
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
Describe the difference between = and == symbols in c programming?
Can stdout be forced to print somewhere other than the screen?
Explain what is the best way to comment out a section of code that contains comments?
Which header file is used for clrscr?
What are the types of data structures in c?
What does c value mean?
What is return in c programming?
Subtract Two Number Without Using Subtraction Operator
Is anything faster than c?
What is floating point constants?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Mention four important string handling functions in c languages .
What are register variables? What are the advantage of using register variables?