Cau u say the output....?



Cau u say the output....?..

Answer / pranav

void main()
{
int i=1;
printf("%d %d %d",i++,++i,i++);
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Code Interview Questions

Given a list of numbers ( fixed list) Now given any other list, how can you efficiently find out if there is any element in the second list that is an element of the first list (fixed list)

3 Answers   Disney, Google, ZS Associates,


main() { int i=300; char *ptr = &i; *++ptr=2; printf("%d",i); }

4 Answers   CSC,


# include<stdio.h> aaa() { printf("hi"); } bbb(){ printf("hello"); } ccc(){ printf("bye"); } main() { int (*ptr[3])(); ptr[0]=aaa; ptr[1]=bbb; ptr[2]=ccc; ptr[2](); }

1 Answers  


how to swap 3 nos without using temporary variable

4 Answers   Satyam,


what is the code of the output of print the 10 fibonacci number series

2 Answers  






Write a routine to implement the polymarker function

0 Answers   TCS,


write a c program to print magic square of order n when n>3 and n is odd?

1 Answers   HCL,


Is the following code legal? void main() { typedef struct a aType; aType someVariable; struct a { int x; aType *b; }; }

1 Answers  


main() { unsigned int i=65000; while(i++!=0); printf("%d",i); }

1 Answers  


Write, efficient code for extracting unique elements from a sorted list of array. e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9).

13 Answers   Intel, Microsoft, TCS,


write a origram swaoing valu without 3rd variable

2 Answers  


void main() { int c; c=printf("Hello world"); printf("\n%d",c); }

2 Answers  


Categories