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 / madhu cherukuri

a=5
b=++a +++a;
ANS:14
in this case the data will be storing in CPU register so the
result is 14 only.

volatile int a=5;
b=++a + ++a;
ANS:13
the data will be stored in directly memory

Is This Answer Correct ?    33 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is wrong with this initialization?

1015


How can I determine whether a machines byte order is big-endian or little-endian?

1067


Can we use visual studio for c?

1106


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3527


How many types of functions are there in c?

1152


What are enumerated types?

1203


What is the purpose of void in c?

1071


How can I do peek and poke in c?

1083


What is variable declaration and definition in c?

911


What does void main return?

1134


Explain what is the difference between far and near ?

1116


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2269


Why c is called a mid level programming language?

1084


Explain how do you view the path?

1183


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

1960