I didn't count the ducks that I saw in line,
but I do remember that one duck was in front of two ducks,
another duck behind two ducks. How many ducks did I see?
Answers were Sorted based on User's Feedback
What is NULL pointer?
What are .h files and what should I put in them?
Why is c fast?
Not all reserved words are written in lowercase. TRUE or FALSE?
output for following code??? main() { int x=2,y,z; x*=3+2; printf("1.%d\n",x); x*=y=z=4; printf("2.%d %d %d\n",x,y,z); x=y==z; printf("3.%d\n",x); x==(y=z); printf("%d",x); }
write a program to create a sparse matrix using dynamic memory allocation.
main() { int x=10,y=15; x=x++; y=++y; printf("%d %d\n",x,y); } output??
19 Answers EBS, Ramco, Sangwin, TCS,
What is putchar() function?
What is diffrance between declaration and defination of a variable or function
write the output of following code .. main() { static int a[]={10,20,30,40,50}; int *ptr=a; static int arr[2][2]={1,2,3,4}; char str[]="ABCD * 4#"; char *s=str+2; int i,j; for(i=0;i<5,i++) printf("%d",*ptr++); for(i=0;i<2;i++) for(j=0;j<2;j++) printf("%d\n",*(*(n+i)+j)); printf("%c\n%c\n%c\n",*(str+2),*s++,*--s); }
Can you subtract pointers from each other? Why would you?
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }