what is the value of b
if a=5;
b=++a + ++a
Answer Posted / sagar
here in b=++a + ++a;
a
Initial Value 5
First Prefix 6
Second Prefix 7
Final Equation b = 7 + 7 = 14...
So,correct answer is 14....
if the equation was as below:
c=++a;//a==6
d=++a;//a=7
b=c+d;//b=6+7=13
then b==13...
| Is This Answer Correct ? | 97 Yes | 29 No |
Post New Answer View All Answers
What is bash c?
What is an operator?
What is the general form of function in c?
how to write a c program to print list of fruits in alpabetical order?
Explain how do you list files in a directory?
Which type of language is c?
Can a file other than a .h file be included with #include?
hi, which software companys will take,if d candidate's % is jst 55%?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Why main is not a keyword in c?
Is it fine to write void main () or main () in c?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What is const volatile variable in c?
How many parameters should a function have?