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
When should the const modifier be used?
What is #include stdio h?
What are 3 types of structures?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
What is int main () in c?
What are the advantages and disadvantages of c language?
Can we access array using pointer in c language?
What are variables c?
i have a written test for microland please give me test pattern
How many parameters should a function have?
What is the process to create increment and decrement stamen in c?
while initialization of array why we use a[][2] why not a[2][]...?
What is the purpose of 'register' keyword?
Explain do array subscripts always start with zero?
What does the file stdio.h contain?