What is output of the following program ?

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

Answer Posted / guest

error exist due to nat declaring datatype for i

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of macro in C language?

665


What happens if header file is included twice?

657


With the help of using classes, write a program to add two numbers.

622


HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????

2273


What are header files in c?

620






Why does not c have an exponentiation operator?

631


What are the 5 elements of structure?

573


What is the easiest sorting method to use?

637


What happens if a header file is included twice?

602


Can a pointer be null?

568


All technical questions

1514


What is pointer to pointer in c language?

600


How are strings stored in c?

599


What is a keyword?

749


Explain can static variables be declared in a header file?

684