what is the value of b
if a=5;
b=++a + ++a
Answer Posted / pawan patil
it's very simple that value of b=13
because the actual value of a=5 then
b=++a + ++a
b=(6) + (++6)= 12
b= (6) + (7)=13
then b=13
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
provide an example of the Group by clause, when would you use this clause
What is the best style for code layout in c?
Tell me when would you use a pointer to a function?
What do you mean by invalid pointer arithmetic?
What is the difference between volatile and const volatile?
What is the g value paradox?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
while initialization of array why we use a[][2] why not a[2][]...?
Is a pointer a kind of array?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
Explain the difference between ++u and u++?
Explain what is wrong with this statement? Myname = ?robin?;
What are the different types of pointers used in c language?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }