Why static is used in c?
No Answer is Posted For this Question
Be the First to Post Answer
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 is a structure in c language. how to initialise a structure in c?
In C, What is the #line used for?
How to use c/c++ code in JAVA
10 Answers CDAC, IBM, Satyam, Scope International,
How can we open a file in Binary mode and Text mode?what is the difference?
What are volatile variables?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
Can we change the value of #define in c?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is ## preprocessor operator in c?
What is character constants?
what are the languages used in c#?