#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

What does sizeof int return?

0 Answers  


int i=0,j; j=++i + ++i ++i; printf(" %d",j);

2 Answers   ME,


What is c language and why we use it?

0 Answers  


what is data structure.in linear and non linear data structures which one is better?Explain

3 Answers   Wipro,


What are data types in c language?

0 Answers  






HOW TO ANSWER IF ASKED " WHAT KIND OF A PERSON ARE YOU?" I NEED AN ANSWER THAT IMPRESS THE INTERVIEWER

4 Answers  


Explain how can you tell whether two strings are the same?

0 Answers  


Describe static function with its usage?

0 Answers  


In C programming, how do you insert quote characters (‘ and “) into the output screen?

0 Answers  


Why & is used in scanf in c?

0 Answers  


Why doesn't the code "a[i] = i++;" work?

4 Answers  


define string ?

0 Answers  


Categories