How. To pass the entrance test
write a c program to calculate sum of digits till it reduces to a single digit using recursion
plz answer..... a program that reads non-negative integer and computes and prints its factorial
what will the following program do? void main() { int i; char a[]="String"; char *p="New Sring"; char *Temp; Temp=a; a=malloc(strlen(p) + 1); strcpy(a,p); //Line no:9// p = malloc(strlen(Temp) + 1); strcpy(p,Temp); printf("(%s, %s)",a,p); free(p); free(a); } //Line no 15// a) Swap contents of p & a and print:(New string, string) b) Generate compilation error in line number 8 c) Generate compilation error in line number 5 d) Generate compilation error in line number 7 e) Generate compilation error in line number 1
what value is returned to operating system after program execution?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What are the differences between Structures and Arrays?
What is the use of typedef in structure in c?
what is op? for(c=0;c=1000;c++) printf("%c",c);
Differentiate between a structure and a union.
What is the difference between getch() and getche()?
print a "hello" word without using printf n puts in c language
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file