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

what is the difference between procedure oriented and object oriented progaming language

1 Answers  


What's wrong with the call "fopen ("c:\newdir\file.dat", "r")"?

1 Answers  


Define recursion in c.

0 Answers  


what is the function of .h in #include<stdio.h> in c ?

23 Answers   HCL, IBM, Wipro,


Write code for initializing one dimentional and two dimentional array in a C Program?

5 Answers   Deshaw, Edutech, GMD,






Why is c used in embedded systems?

0 Answers  


Which node is more powerful and can handle local information processing or graphics processing?

0 Answers  


2)#include<iostream.h> main() { printf("Hello World"); } the program prints Hello World without changing main() the o/p should be intialisation Hello World Desruct the changes should be a)iostream operator<<(iostream os, char*s) os<<'intialisation'<<(Hello World)<<Destruct b) c) d)none of the above

4 Answers   Siemens,


print 1-50 with two loop & two print Statement

2 Answers  


1 232 34543 4567654 can anyone tell me how to slove this c question

6 Answers  


What are different types of operators?

0 Answers  


In scanf h is used for

4 Answers   BFL,


Categories