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
how to capitalise first letter of each word in a given string?
What are the 32 keywords in c?
Write a code on reverse string and its complexity.
Explain pointers in c programming?
Why c is called a middle level language?
What is #include stdlib h?
How macro execution is faster than function ?
Whats s or c mean?
Can I initialize unions?
What is multidimensional arrays
What is the difference between fread and fwrite function?
What is function what are the types of function?
Explain a pre-processor and its advantages.
Do you know the difference between malloc() and calloc() function?
Why isnt there a numbered, multi-level break statement to break out