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 / pawan patil

it's very simple that value of b=13
because the actual value of a=5 then
b=++a + ++a
b=(6) + (++6)= 12
b= (6) + (7)=13
then b=13

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

provide an example of the Group by clause, when would you use this clause

2205


What is the best style for code layout in c?

1113


Tell me when would you use a pointer to a function?

1078


What do you mean by invalid pointer arithmetic?

1097


What is the difference between volatile and const volatile?

1001


What is the g value paradox?

1187


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

1107


while initialization of array why we use a[][2] why not a[2][]...?

2377


Is a pointer a kind of array?

1198


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2304


Explain the difference between ++u and u++?

1148


Explain what is wrong with this statement? Myname = ?robin?;

1600


What are the different types of pointers used in c language?

1061


Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?

1518


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1129