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
What is sizeof c?
Write a factorial program using C.
What is static and auto variables in c?
What are local variables c?
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
Is c still used?
What are the modifiers available in c programming language?
Are negative numbers true in c?
What is a pointer in c?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
What is a example of a variable?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
Write a progarm to find the length of string using switch case?
Once I have used freopen, how can I get the original stdout (or stdin) back?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12