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 / abdur rab
The Prototype should be
int* q ( char* );
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain what are compound statements?
What is #ifdef ? What is its application?
What is const volatile variable in c?
What is a loop?
Explain pointers in c programming?
Explain what is the benefit of using const for declaring constants?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
How many types of errors are there in c language? Explain
What are logical errors and how does it differ from syntax errors?
What is a substring in c?
What is the difference between c &c++?
What is function pointer c?
Explain how can you determine the size of an allocated portion of memory?
Why doesnt long int work?
why use "return" statement a) on executing the return statement it immediately transfers the control back to the calling program b) it returns the value present in the parentheses return, to the calling program c) a & b d) none of the above