what is function pointer?
Answers were Sorted based on User's Feedback
Answer / preethi v
function pointer will store the address of a specific function
for eg:int (*p) ()
p is a function pointer will store the address of one function at a time.
| Is This Answer Correct ? | 19 Yes | 1 No |
Answer / sathish
we can able to give function as a argument into a function
by using function pointer
| Is This Answer Correct ? | 0 Yes | 0 No |
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
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Why enum is used in c?
You are given a string which contains some special characters. You also have set of special characters. You are given other string (call it as pattern string). Your job is to write a program to replace each special characters in given string by pattern string. You are not allowed to create new resulting string. You need to allocate some new memory to given existing string but constraint is you can only allocate memory one time. Allocate memory exactly what you need not more not less.
What is quick sort in c?
how many header file is in C language ?
44 Answers College School Exams Tests, CTS, IBM, IMS, Infosys, ME, Sign Solutions, Wipro, XVT,
Array is an lvalue or not?
struct abc { unsigned int a; char b; float r; }; struct xyz { int u; struct abc tt; }ww; ww = (struct xyz*)malloc(sizeof(struct xyz)); will the memory be allocated for the inner structure also?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
Is null equal to 0 in sql?
What is wrong with this initialization?
what is the need for main function in c?