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
Why C language is a procedural language?
Can you write the algorithm for Queue?
What the advantages of using Unions?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
How do you sort filenames in a directory?
How can you determine the maximum value that a numeric variable can hold?
What the different types of arrays in c?
Can i use “int” data type to store the value 32768? Why?
Why calloc is better than malloc?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
What is .obj file in c?
Why flag is used in c?
what are bit fields in c?
can anyone suggest some site name..where i can get some good data structure puzzles???