4.A function 'q' that accepts a pointer to a character as
argument and returns a pointer to an array of integer can
be declared as:
A)int (*q(char*)) []
B)int *q(char*) []
C)int(*q)(char*) []
D)None of the Above
Answer Posted / ravi
correct ans is option C
that is
int (*q)(char*)[]
| Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is local and global variable in c?
swap 2 numbers without using third variable?
What is typedef example?
Here is a neat trick for checking whether two strings are equal
Explain what are header files and explain what are its uses in c programming?
Why do we write return 0 in c?
Write a program to swap two numbers without using third variable?
How can you restore a redirected standard stream?
Tell me can the size of an array be declared at runtime?
Discuss the function of conditional operator, size of operator and comma operator with examples.
Differentiate between calloc and malloc.
What are pointers? What are different types of pointers?
Do character constants represent numerical values?
How can I make sure that my program is the only one accessing a file?
What is page thrashing?