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

What does %c do in c?

1001


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1976


Define and explain about ! Operator?

1004


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

5216


What is strcmp in c?

1133


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?

2136


What does a function declared as pascal do differently?

1141


why wipro wase

2316


Why do we use null pointer?

1073


What are the standard predefined macros?

1149


Write a program to check palindrome number in c programming?

1024


How many identifiers are there in c?

1027


What is the use of the function in c?

1019


How can I open a file so that other programs can update it at the same time?

1190


What are preprocessor directives in c?

1106