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


Please Help Members By Posting Answers For Below Questions

Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.

837


How are portions of a program disabled in demo versions?

751


Explain how do I determine whether a character is numeric, alphabetic, and so on?

654


WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.

2029


write a program to generate address labels using structures?

4007






Why is %d used in c?

567


what is a constant pointer in C

679


What is s in c?

618


Can we use visual studio for c?

551


Explain a pre-processor and its advantages.

633


Why doesnt this code work?

618


What are control structures? What are the different types?

598


write a program for the normal snake games find in most of the mobiles.

1786


Explain how do you print an address?

659


what are non standard function in c

1436