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
What is wrong with this initialization?
How can I determine whether a machines byte order is big-endian or little-endian?
Can we use visual studio for c?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
How many types of functions are there in c?
What are enumerated types?
What is the purpose of void in c?
How can I do peek and poke in c?
What is variable declaration and definition in c?
What does void main return?
Explain what is the difference between far and near ?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
Why c is called a mid level programming language?
Explain how do you view the path?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??