What is output of the following program ?

main()
{
i = 1;
printf("%d %d %d\n",i,i++,i++);
}

Answer Posted / chandrakala

error: i doesn't declared in a correct way
int i=1

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are the outer parentheses in return statements really optional?

569


Linked lists -- can you tell me how to check whether a linked list is circular?

636


How would you obtain the current time and difference between two times?

719


Is Exception handling possible in c language?

1574


What is a void pointer in c?

602






Which header file is used for clrscr?

571


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

648


Explain about the functions strcat() and strcmp()?

596


Why shouldn’t I start variable names with underscores?

621


In C language, a variable name cannot contain?

734


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

1882


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

757


What are reserved words?

649


Write a code of a general series where the next element is the sum of last k terms.

585


Why is c so important?

590