what is the value of b
if a=5;
b=++a + ++a
Answer Posted / kaps
IT is defenetly 14...Ans = 14
Explanation:
Because ++a = 6
then again ++a = 7
Now compiler replace the both value with 7 (because of both
are of value of a).
So 7+7 = 14.
It is tested on turbo C...
try with adding one more ++a will give u ans 24(8+8+8) for
++a + ++a + ++a.
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
hi folks i m approching for h1 b interview on monday 8th of august at montreal and i m having little problem in my approval notice abt my bithdate my employer has made a mistake while applying it is 12th january and istead of that he had done 18 the of january do any body have any solution for that if yes how can i prove my visa officer abt my real birthdate it urgent please let me know guys thaks dipesh patel
What is wild pointer in c?
Difference between Shallow copy and Deep copy?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
Can we declare a function inside a function in c?
Explain what are run-time errors?
difference between object file and executable file
What are global variables?
What is the acronym for ansi?
How are Structure passing and returning implemented by the complier?
When should you not use a type cast?
Where is volatile variable stored?
Can we use any name in place of argv and argc as command line arguments?
When would you use a pointer to a function?
what are the advantages of a macro over a function?