what is the value of b
if a=5;
b=++a + ++a
Answer Posted / madhu cherukuri
a=5
b=++a +++a;
ANS:14
in this case the data will be storing in CPU register so the
result is 14 only.
volatile int a=5;
b=++a + ++a;
ANS:13
the data will be stored in directly memory
Is This Answer Correct ? | 33 Yes | 15 No |
Post New Answer View All Answers
Explain how can I right-justify a string?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
What is a memory leak? How to avoid it?
How can I generate floating-point random numbers?
What is function prototype in c with example?
What are the 4 data types?
what is use of malloc and calloc?
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What is the difference between fread buffer() and fwrite buffer()?
int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer
c program to compute AREA under integral
What are directives in c?
What is structure pointer in c?
What is an expression?
What are preprocessor directives in c?