Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

1310


What are enums in c?

1296


can any one tel me wt is the question pattern for NIC exam

2029


What is queue in c?

1161


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

1269


can anyone please tell about the nested interrupts?

2190


Is javascript written in c?

1121


What is unary operator?

1180


What is #define in c?

1114


What does a function declared as pascal do differently?

1229


Is multithreading possible in c?

1070


Is there any demerits of using pointer?

1125


What is the size of structure in c?

1220


Explain c preprocessor?

1164


a program that can input number of records and can view it again the record

1971