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 / s.srinivasulu

correct ans is option C

that is
int (*q)(char*)[]

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is volatile variable how do you declare it?

566


What is void main ()?

611


How do I send escape sequences to control a terminal or other device?

613


what is the format specifier for printing a pointer value?

611


What is output redirection?

691






how to count no of words,characters,lines in a paragraph.

3905


What are different storage class specifiers in c?

618


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

656


Why void main is used in c?

559


Is it possible to pass an entire structure to functions?

557


Is a house a shell structure?

697


What is the general form of #line preprocessor?

587


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

1651


What is the most efficient way to store flag values?

689


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2455