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


Please Help Members By Posting Answers For Below Questions

Does free set pointer to null?

555


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

693


can we change the default calling convention in c if yes than how.........?

2030


how to write a c program to print list of fruits in alpabetical order?

1786


What is calloc in c?

656






What are the various types of control structures in programming?

624


What is the purpose of 'register' keyword in c language?

625


What is function prototype in c with example?

571


Why cant I open a file by its explicit path?

593


What is #line?

607


Explain how can you determine the size of an allocated portion of memory?

617


What is table lookup in c?

624


How can I access an I o board directly?

620


Do string constants represent numerical values?

913


Why is c faster?

588