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 |
main() { while (strcmp(“some”,”some\0”)) printf(“Strings are not equal\n”); }
main() { clrscr(); } clrscr();
char *someFun1() { char temp[ ] = “string"; return temp; } char *someFun2() { char temp[ ] = {‘s’, ‘t’,’r’,’i’,’n’,’g’}; return temp; } int main() { puts(someFun1()); puts(someFun2()); }
Predict the Output: int main() { int *p=(int *)2000; scanf("%d",2000); printf("%d",*p); return 0; } if input is 20 ,what will be print
Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?
How do I write a program to print proper subset of given string . Eg :input: abc output:{},{a},{b},{c},{a,b},{a,c},{b,c}, {a,b,c}.I desperately need this program please mail me to saravana6m@gmail.com
Is the following code legal? struct a { int x; struct a b; }
void func1(int (*a)[10]) { printf("Ok it works"); } void func2(int a[][10]) { printf("Will this work?"); } main() { int a[10][10]; func1(a); func2(a); } a. Ok it works b. Will this work? c. Ok it worksWill this work? d. None of the above
main() { int y; scanf("%d",&y); // input given is 2000 if( (y%4==0 && y%100 != 0) || y%100 == 0 ) printf("%d is a leap year"); else printf("%d is not a leap year"); }
source code for delete data in array for c
Write a function to find the depth of a binary tree.
13 Answers Adobe, Amazon, EFI, Imagination Technologies,
write a program to find out roots of quadratic equation "x=-b+-(b^2-4ac0^-1/2/2a"