Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26..

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

24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26..

Answer / abhijit

http://www.c4learn.com/illegal-arithmetic-operations-with-pointer.html

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

Write the program for displaying the ten most frequent words in a file such that your program should be efficient in all complexity measures.

3 Answers   Google,


What is difference between static and global variable in c?

0 Answers  


write a program to interchange the value between two variable without using loop

1 Answers  


Why is C language being considered a middle level language?

0 Answers  


What is the output of the following program #include<stdio.h> main() { int i=0; fork(); printf("%d",i++); fork(); printf("%d",i++); fork(); wait(); }

8 Answers   ADITI, Adobe,


I need previous papers of CSC.......plz help out by posting them.......

0 Answers  


What is operator precedence?

0 Answers  


what is the difference between c and java?

1 Answers  


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

0 Answers  


main() { int a=4,b=2; a=b<<a + b>>2; printf("%d", a); }

11 Answers   HCL, Vector, Vector India, Vector Solutions, Wipro,


What is the difference between the local variable and global variable in c?

0 Answers  


Explain two-dimensional array.

0 Answers  


Categories