x=2 y=3 z=2
x++ + y++;
printf("%d%d" x,y);
Answers were Sorted based on User's Feedback
Answer / himanshu
errors:declaration syntax missing
function call missing
Is This Answer Correct ? | 0 Yes | 1 No |
how to check whether a linked list is circular.
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
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'.
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](); }
Develop a routine to reflect an object about an arbitrarily selected plane
Is it possible to print a name without using commas, double quotes,semi-colons?
main() { int i; i = abc(); printf("%d",i); } abc() { _AX = 1000; }
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }
int i=10; main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); }
main() { char str1[] = {‘s’,’o’,’m’,’e’}; char str2[] = {‘s’,’o’,’m’,’e’,’\0’}; while (strcmp(str1,str2)) printf(“Strings are not equal\n”); }
Write a C program to print ‘Campus Force training’ without using even a single semicolon in the program.