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
How to implement call back functions ?
How to swap 3 numbers without using 4th variable?
What is the purpose of sprintf() function?
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300,200,100
What are categories used for in c?
What is the use of bit field?
When is an interface "good"?
What does p mean in physics?
Program to write some contents into a file using file operations with proper error messages.
what will be maximum number of comparisons when number of elements are given?
What does c mean?
What are the average number of comparisons required to sort 3 elements?