what is the value of b
if a=5;
b=++a + ++a
Answer Posted / goldy ramnani
13
because 1stly a=5,
then compiler compile fromleft to right,
so ++a means a=6 then
++a a=6 now a=7,lastly 7+6=13
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is static function in c?
what is a function method?give example?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What is the use of header files?
Stimulate calculator using Switch-case-default statement for two numbers
provide an example of the Group by clause, when would you use this clause
What are the 4 types of unions?
What is the equivalent code of the following statement in WHILE LOOP format?
Is main a keyword in c?
What is struct node in c?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.
Can we use visual studio for c?
Explain what are global variables and explain how do you declare them?
What is unary operator?
What is boolean in c?