What is output of the following program ?

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

Answer Posted / navi

1 1 1

Is This Answer Correct ?    2 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the usage of the pointer in c?

608


What is the modulus operator?

740


Is it valid to address one element beyond the end of an array?

677


write a progrmm in c language take user interface generate table using for loop?

1576


What is the concatenation operator?

614






What are the standard predefined macros?

637


Can stdout be forced to print somewhere other than the screen?

627


write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

1491


What does printf does?

751


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1316


What is the difference between constant pointer and constant variable?

751


Is null always equal to 0(zero)?

589


Differentiate between static and dynamic modeling.

623


What is wrong with this declaration?

615


What is void c?

571