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
What is the use of header?
Explain what is operator promotion?
Why c language is called c?
What does it mean when a pointer is used in an if statement?
Differentiate between null and void pointers.
What is extern c used for?
How many levels of pointers have?
Write a code to generate a series where the next element is the sum of last k terms.
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Explain the difference between getch() and getche() in c?
Where are the auto variables stored?
Can you think of a logic behind the game minesweeper.
Explain the red-black trees?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
Differentiate between functions getch() and getche().