what is the advantage of function pointer
Answer Posted / maskfriend
function of pointer is more useful for use of large
function argument.it creats less complecty in function
argument.
| Is This Answer Correct ? | 29 Yes | 10 No |
Post New Answer View All Answers
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
How are strings stored in c?
What is the role of && operator in a program code?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
What is the purpose of void pointer?
Explain how do you search data in a data file using random access method?
Is a pointer a kind of array?
How can I read a binary data file properly?
Explain is it valid to address one element beyond the end of an array?
What does typedef struct mean?
What is a program flowchart?
How can I write a function analogous to scanf?
Why does this code crash?