What are multidimensional arrays?
No Answer is Posted For this Question
Be the First to Post Answer
What is use of null pointer in c?
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
What is the difference b/w Structure & Class?
can we define a function in structure?
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 ?
How can I use a preprocessorif expression to ?
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 the difference between #include and #include 'file' ?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
Does c have enums?
Explain about C function prototype?
Write a program to enter the name and age. If age>28 then find salary categories. if age<28 then find that you are gaduate or not.