24.what is a void pointer?
25.why arithmetic operation can’t be performed on a void
pointer?
26.differentiate between const char *a; char *const a;
and char const *a;
27.compare array with pointer?
28.what is a NULL pointer?
29.what does ‘segmentation violation’ mean?
30.what does ‘Bus Error’ mean?
31.Define function pointers?
32.How do you initialize function pointers? Give an example?
33.where can function pointers be used?
Answer Posted / fakkad
24: void pointer can point any type of data.
31: int (*fun)(int) //pointer to a function which takes an
int as an argument and returns an int;
32: int (*fun)(int) = NULL; // initializing with NULL
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are the header files used in c language?
What is the g value paradox?
What is meant by 'bit masking'?
Define circular linked list.
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
How can I use a preprocessorif expression to ?
What is the use of function in c?
What is the usage of the pointer in c?
Why c is called object oriented language?
What does %d do?
Tell me what is the purpose of 'register' keyword in c language?
code for replace tabs with equivalent number of blanks
Not all reserved words are written in lowercase. TRUE or FALSE?
What are c preprocessors?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell