what is the output for this question:
main()
{
int i=1;
printf("%d%d%d",i,i++,++i);
}

Answer Posted / rameesh ka

answer is
3,2,2

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of external class?

598


What is the purpose of main() function?

662


What is the total generic pointer type?

731


What is void main () in c?

738


What are the application of void data type in c?

723






int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

662


Which of these functions is safer to use : fgets(), gets()? Why?

637


Apart from dennis ritchie who the other person who contributed in design of c language.

817


What are different types of operators?

600


What is c programming structure?

623


What is adt in c programming?

614


When should volatile modifier be used?

558


Explain enumerated types.

602


write a c program to calculate sum of digits till it reduces to a single digit using recursion

2725


Explain the difference between ++u and u++?

642