what is the value of b
if a=5;
b=++a + ++a
Answer Posted / ashfak yeafi
The answer is 14.
The increment operator has a higher priority than the arithmetic operator.
So the equation will be,
b=7+7=14
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is c# a good language?
What does s c mean in text?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
Can we use visual studio for c?
What is the difference between strcpy() and memcpy() function in c programming?
What is the description for syntax errors?
Do you know what are bitwise shift operators in c programming?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is calloc in c?
What does d mean?
Can you tell me how to check whether a linked list is circular?
show how link list can be used to repersent the following polynomial i) 5x+2
What is || operator and how does it function in a program?
List the difference between a While & Do While loops?
How can I do graphics in c?