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

Answers were Sorted based on User's Feedback



A function 'q' that accepts a pointer to a character as argument and returns a pointer t..

Answer / abdur rab

The Prototype should be

int* q ( char* );

Is This Answer Correct ?    3 Yes 1 No

A function 'q' that accepts a pointer to a character as argument and returns a pointer t..

Answer / subbu

answer is d

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

when i declare as: void main() { clrscr(); int a=10; printf("%d",a) } my problem that why generate a error in above programs. please tell me answer seriously .

4 Answers  


What is the memory allocated by the following definition ? int (*x)();

2 Answers   ADITI,


To what value are pointers initialized? 1) NULL 2) Newly allocated memory 3) No action is taken by the compiler to initialize pointers.

4 Answers   Aricent,


what is link list?

3 Answers  


What is assignment operator?

0 Answers  


What does the error message "DGROUP exceeds 64K" mean?

0 Answers   Celstream,


Tell us two differences between new () and malloc ()?

0 Answers   Adobe,


what is the use of ~ in c lang?????

3 Answers  


what is diognisis?

1 Answers  


How does selection sort work in c?

0 Answers  


i need all types of question paper releted to "c" and other language.

0 Answers  


what r callback function?

1 Answers  


Categories