#include<stdio.h>
void main()
{
int =1;
printf("%d%d%d",a++,++a,++a);
}

Answers were Sorted based on User's Feedback



#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }..

Answer / sravani

i got the answer 1,3,4

Is This Answer Correct ?    5 Yes 1 No

#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }..

Answer / drashti

3

Is This Answer Correct ?    0 Yes 0 No

#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }..

Answer / stephen john

i got the answer is 3,4,4.
why?

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More C Interview Questions

Define and explain about ! Operator?

0 Answers  


Why are all header files not declared in every c program?

0 Answers  


What are bit fields? What is their use?

2 Answers   Adobe,


Why is the code below functioning. According to me it MUST NOT.

1 Answers  


main() { int i=5; printf("%d",++i + i); } output is 10 ------------------------ main() { int i=5; printf("%d",i++ + i); }output is 12 why it is so? give appropiate reason....

2 Answers  






Write a program in C to convert date displayed in gregorian to julian date

0 Answers   HCL, Wipro,


Differentiate abs() function from fabs() function.

0 Answers  


What is meant by gets in c?

0 Answers  


Write a c pgm for leap year

11 Answers   College School Exams Tests, IBM, TCS,


#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }

1 Answers  


what is call by value and call by reference

4 Answers  


design and implement a program that reads floating-points numbers in a sentinel-controlled loop until the user terminates the program by entering zero.your program should determinate and print the smallest,largest and average of the supplied numbers.

2 Answers  


Categories