How is a pointer variable declared?
No Answer is Posted For this Question
Be the First to Post Answer
Explain what is the difference between a string and an array?
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); }
while initialization of array why we use a[][2] why not a[2][]...?
what will be the output of" printf("%d%d",scanf("%d% d",&a&b));"
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
Why string is used in c?
What are actual arguments?
how to TOGGLE Nth bit of variable in a MACRO
how to create duplicate link list using C???
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
Where are the auto variables stored?
what is data structure