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

How can I open files mentioned on the command line, and parse option flags?

816


What is local and global variable in c?

850


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

1952


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2110


What are file streams?

772


How can I avoid the abort, retry, fail messages?

862


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

954


How do you initialize pointer variables?

800


What are identifiers c?

838


There seem to be a few missing operators ..

812


What is exit() function?

757


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1610


What math functions are available for integers? For floating point?

856


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

855


How to draw the flowchart for structure programs?

8973