what is the value of b
if a=5;
b=++a + ++a
Answer Posted / shashikanth
if a=5;
b=++a+++a;
initial value a=5
first prefix 6
second prefix 7
final value b=7+7
b=14
ans 14
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What are enums in c?
can any one tel me wt is the question pattern for NIC exam
What is queue in c?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
can anyone please tell about the nested interrupts?
Is javascript written in c?
What is unary operator?
What is #define in c?
What does a function declared as pascal do differently?
Is multithreading possible in c?
Is there any demerits of using pointer?
What is the size of structure in c?
Explain c preprocessor?
a program that can input number of records and can view it again the record