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?

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


Please Help Members By Posting Answers For Below Questions

What are the 4 types of functions?

1110


How is actual parameter different from the formal parameter?

1063


Describe how arrays can be passed to a user defined function

1345


What is a protocol in c?

1057


Is there a way to compare two structure variables?

1172


How can you convert integers to binary or hexadecimal?

1074


Explain the bubble sort algorithm.

1113


What is the difference between array and structure in c?

1245


How can variables be characterized?

2238


Is it better to use malloc() or calloc()?

1176


Differentiate between calloc and malloc.

1321


What is getche() function?

1088


Why is c called "mother" language?

1333


Do you know what are bitwise shift operators in c programming?

1155


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

1112