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 / dumitru

in Open Suse the result is:

9 10 7 6 10 4

-2 -1 -3 1 -3 -3

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you restore a redirected standard stream?

1124


Why enum is used in c?

965


Difference between strcpy() and memcpy() function?

1155


When should structures be passed by values or by references?

1045


What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1285


What does the file stdio.h contain?

1070


When should volatile modifier be used?

1018


How to set file pointer to beginning c?

1204


what is the significance of static storage class specifier?

2265


What are qualifiers and modifiers c?

1010


What is calloc in c?

1146


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2796


What is wrong with this declaration?

1110


What are the functions to open and close file in c language?

1208


What are global variables and how do you declare them?

1102