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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / abhijit
http://www.c4learn.com/illegal-arithmetic-operations-with-pointer.html
| Is This Answer Correct ? | 1 Yes | 0 No |
The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this
what is available in C language but not in C++?
10 Answers CTS, TCS,
What is RAM memory? and What is ROM?Who designed one is temparary and another is permanent?why they designed like that?By using far pointer which type data(whether hexadecimal)we can access?
Why functions are used in c?
What is hungarian notation? Is it worthwhile?
Does c have an equivalent to pascals with statement?
What is main () in c language?
how to find greatet of 10 numbers without using array?
write a program that accepts 3 numbers from the user. dispaly the values in a descending order.
Can anyone tell what is stack overflow? what precaution we should take?
How can I read in an object file and jump to locations in it?
What are the concepts introduced in OOPs?