x=2 y=3 z=2
x++ + y++;
printf("%d%d" x,y);

Answers were Sorted based on User's Feedback



x=2 y=3 z=2 x++ + y++; printf("%d%d" x,y);..

Answer / guest

error

Is This Answer Correct ?    0 Yes 0 No

x=2 y=3 z=2 x++ + y++; printf("%d%d" x,y);..

Answer / himanshu

errors:declaration syntax missing
function call missing

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More C Code Interview Questions

how to check whether a linked list is circular.

11 Answers   Microsoft,


int i; main(){ int t; for ( t=4;scanf("%d",&i)-t;printf("%d\n",i)) printf("%d--",t--); } // If the inputs are 0,1,2,3 find the o/p

2 Answers  


How to use power function under linux environment.eg : for(i=1;i<=n;i++){ pow(-1,i-1)} since it alerts undefined reference to 'pow'.

2 Answers  


How to reverse a String without using C functions ?

33 Answers   Matrix, TCS, Wipro,


int aaa() {printf(“Hi”);} int bbb(){printf(“hello”);} iny ccc(){printf(“bye”);} main() { int ( * ptr[3]) (); ptr[0] = aaa; ptr[1] = bbb; ptr[2] =ccc; ptr[2](); }

1 Answers  






Develop a routine to reflect an object about an arbitrarily selected plane

0 Answers  


Is it possible to print a name without using commas, double quotes,semi-colons?

7 Answers  


main() { int i; i = abc(); printf("%d",i); } abc() { _AX = 1000; }

2 Answers  


main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }

1 Answers  


int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); }

1 Answers  


main() { char str1[] = {‘s’,’o’,’m’,’e’}; char str2[] = {‘s’,’o’,’m’,’e’,’\0’}; while (strcmp(str1,str2)) printf(“Strings are not equal\n”); }

1 Answers  


Write a C program to print ‘Campus Force training’ without using even a single semicolon in the program.

3 Answers   Wipro,


Categories