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...

a=5
a=a++/++a

Answer Posted / abhi

answer is 6 because
a=a++/++a
i.e.=
5=5/5+1
hence 6=5/6
5*6=5
30/5=6
reason is that the post increment increment after process
but pre increment increment before the process so th value
is increment before the process

Is This Answer Correct ?    1 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What language is lisp written in?

1275


What is function pointer c?

1124


I have a varargs function which accepts a float parameter?

1062


State two uses of pointers in C?

1070


How can I trap or ignore keyboard interrupts like control-c?

1072


What is the Purpose of 'extern' keyword in a function declaration?

1088


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

2138


What does %2f mean in c?

1232


Explain the advantages and disadvantages of macros.

1105


Define C in your own Language.

1089


Explain how can I pad a string to a known length?

1204


What are the types of type qualifiers in c?

1093


How can I split up a string into whitespace-separated fields?

1064


cavium networks written test pattern ..

4088


can we change the default calling convention in c if yes than how.........?

2542