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);

Answers were Sorted based on User's Feedback



what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

Answer / ii yr information technology

466799
3200-2-3

Is This Answer Correct ?    29 Yes 14 No

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

Answer / arun sebastin

9 9 7 6 6 4

-2 -1 -1 1 1 2

The conceptis simple dothe operation in reverse

Is This Answer Correct ?    9 Yes 2 No

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

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

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

Answer / malith

9,10,7,6,10,4-2,-1,-3,1,-3,-3

Is This Answer Correct ?    1 Yes 2 No

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

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

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

Answer / lohith

997664 -2-1-1112

Is This Answer Correct ?    5 Yes 9 No

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

Answer / mathan kumar .t

6,6,5,5,5,4
0,0,0,1,1,2

Is This Answer Correct ?    1 Yes 6 No

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

Answer / vinod kumar

in fedora it is giving
91076104
-2-1-31-3-3

but dont know how

Is This Answer Correct ?    0 Yes 5 No

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

Answer / pedda

4,5,4,4,5,4
3,3,2,3,2,2

Is This Answer Correct ?    2 Yes 10 No

what is the Output? int a=4 b=3; printf("%d%d%d%d%d%d",a++,++a,a++,a++,++a,a++); prin..

Answer / lingaraja.d

5,5,5,5,5,5 2,2,2,2,2,2

Is This Answer Correct ?    3 Yes 16 No

Post New Answer

More C Interview Questions

WHY DO WE USE A TERMINATOR IN C LANGUAGE?

2 Answers  


#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??

0 Answers  


hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a

1 Answers  


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

0 Answers  


while running a program, i got the msg that press return key to exit.what that mean in C as there are no such options as far i know.

1 Answers   TCS,


Can we assign integer value to char in c?

0 Answers  


write a program to print largest number of each row of a 2D array

0 Answers  


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

0 Answers  


2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers.

3 Answers   Nagarro,


What do you mean by a local block?

0 Answers   InterGraph,


Tell me what are bitwise shift operators?

0 Answers  


What is the difference between malloc calloc and realloc in c?

0 Answers  


Categories