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 Output?
int a=4 b=3;
printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++);

printf("%d%d%d%d%d%d",b--,b--,--b,b--,--b,--b);

Answer Posted / suresh mca

output
997664
-2-1-1112


here the concept is very is....
the work flow of the printf statement is right to left
and display of the statement is left to right.......
thats all very simple logic

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program to swap two numbers without using the third variable?

1120


Are the expressions * ptr ++ and ++ * ptr same?

1210


Write a function that will take in a phone number and output all possible alphabetical combinations

1100


What is function prototype in c with example?

1163


What is the difference between declaring a variable by constant keyword and #define ing that variable?

3440


How a string is stored in c?

1117


What does typeof return in c?

1161


write a program to copy the string using switch case?

2949


Can stdout be forced to print somewhere other than the screen?

1090


Why is structure padding done in c?

1192


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1226


Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1089


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

1091


Can we declare variable anywhere in c?

1034


how can I convert a string to a number?

1138