How can you find the day of the week given the date?
Explain built-in 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); }
What does s c mean in text?
Design a program using an array that searches a number if it is found on the list of the given input numbers and locate its exact location in the list.
Explain the difference between fopen() and freopen().
how to make c program without a libary? e.g.#include<stdio.h> libary is not in c progaram.
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
write a program to print the one dimensional array.
write a program to display the numbers in the following format 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 2 2 2 2 2 3 3 3 4
What is #line?
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
What is a nested loop?