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

What is function pointer c?

1112


What are shell structures used for?

1052


What is a good way to implement complex numbers in c?

1051


How would you rename a function in C?

1042


What are derived data types in c?

1087


What header files do I need in order to define the standard library functions I use?

1057


How do you do dynamic memory allocation in C applications?

1087


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1724


I came across some code that puts a (void) cast before each call to printf. Why?

1220


How many levels of indirection in pointers can you have in a single declaration?

1088


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

1117


What is pre-emptive data structure and explain it with example?

3726


What is chain pointer in c?

1060


Describe explain how arrays can be passed to a user defined function

1099


How can you be sure that a program follows the ANSI C standard?

1606