Explain the Difference between the New and Malloc keyword.
How are 16- and 32-bit numbers stored?
What are static functions?
main() { int a[10]; printf("%d",*a+1-*a+3); }
Differentiate between new and malloc(), delete and free() ?
Is main() is used in the program,,see below example? void main() { int i; for(i=0;i<10;i++) main(); } Then what is the output of the program?
what is the use of ‘auto’ keyword?
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); }
main() { int i; printf("%d",i^i); }
How can you invoke another program from within a C program?
The statement, int(*x[]) () what does in indicate?
What's the difference between calloc() and malloc()?
What is a header file?