what is the value of b
if a=5;
b=++a + ++a
Answer Posted / vinit kumar
answer would be 14
because value will be stored in cpu register..
b=7+6
last vale is 7 then it increases two times so 7*2=14
| Is This Answer Correct ? | 5 Yes | 6 No |
Post New Answer View All Answers
How many levels of pointers can you have?
Are the variables argc and argv are always local to main?
What are local variables c?
Explain bit masking in c?
What is the use of function overloading in C?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is typedef example?
Is it possible to initialize a variable at the time it was declared?
What is #define?
Why can't I perform arithmetic on a void* pointer?
Explain is it better to bitshift a value than to multiply by 2?
Which is the memory area not included in C program? give the reason
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
When the macros gets expanded?
What is difference between constant pointer and constant variable?