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
Can we use visual studio for c?
Explain what are run-time errors?
What is a function in c?
Why isnt any of this standardized in c?
All technical questions
Explain what is the difference between far and near ?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
while initialization of array why we use a[][2] why not a[2][]...?
What is build process in c?
What are global variables and how do you declare them?
What is variables in c?
How can you call a function, given its name as a string?
Explain how do you convert strings to numbers in c?
What are linker error?
What are the advantages of union?