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 / ajeet kumar

Ans a=2.

here a=a++/++a; //initial value of a=5.
1)firstly a=a++/++a <---it is pre-increment so firstly this
value will update.i.e a will be 6.
a=a++/6; //a=6
a=6/6; a=1;//after this line executions one increment will left of variable a.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Find MAXIMUM of three distinct integers using a single C statement

1114


Explain how do you declare an array that will hold more than 64kb of data?

1497


Explain what is the difference between text files and binary files?

1216


What is the difference between exit() and _exit() function?

1101


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1755


In which header file is the null macro defined?

1401


When should the register modifier be used? Does it really help?

1007


What is the right type to use for boolean values in c?

1085


What is exit() function?

1071


How can you determine the maximum value that a numeric variable can hold?

1298


Is c is a low level language?

1208


Explain the use of #pragma exit?

1216


What is array of structure in c?

1253


Write a program to generate random numbers in c?

1156


Why #include is used in c language?

1101