Why dont c comments nest?
No Answer is Posted For this Question
Be the First to Post Answer
i want to know the procedure of qualcomm for getting a job through offcampus
What is the real time usage volatile?
Is null a keyword in c?
What is an array in c?
why division operator not work in case of float constant?
What are header files? What are their uses?
Tell me what is null pointer in c?
What are static variables in c?
how to find the kth smallest element in the given list of array elemnts.
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
how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?
write a function which accept two numbers from main() and interchange them using pointers?