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
Can include files be nested?
How do you determine the length of a string value that was stored in a variable?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
What is extern c used for?
how to construct a simulator keeping the logical boolean gates in c
what do you mean by enumeration constant?
what is the diffrenet bettwen HTTP and internet protocol
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What are header files and explain what are its uses in c programming?
I came across some code that puts a (void) cast before each call to printf. Why?
Why does the call char scanf work?
Explain what are multidimensional arrays?
What is calloc malloc realloc in c?
What is the most efficient way to count the number of bits which are set in an integer?