What is output of the following program ?

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

Answer Posted / siva

1 1 2

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is time null in c?

579


Does sprintf put null character?

595


What is strcmp in c?

594


What is data structure in c and its types?

588


Explain modulus operator. What are the restrictions of a modulus operator?

595






#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

762


What is meant by type casting?

620


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

4487


write a program for the normal snake games find in most of the mobiles.

1783


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1654


what is the structure pointer?

1642


What is an operator?

655


What is the use of c language in real life?

527


What is the code for 3 questions and answer check in VisualBasic.Net?

1682


Can a pointer point to null?

582