What is output of the following program ?

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

Answer Posted / pooja keshri

321

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

1522


How can I open a file so that other programs can update it at the same time?

667


a value that does not change during program execution a) variabe b) argument c) parameter d) none

706


how can I convert a string to a number?

604


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

1810






What is the right way to use errno?

629


What is the benefit of using const for declaring constants?

594


C language questions for civil engineering

1250


What is meant by high-order and low-order bytes?

660


How can I read and write comma-delimited text?

625


Write a program of prime number using recursion.

626


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1461


What is the best way to comment out a section of code that contains comments?

790


What language is c written?

583


How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same

657