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...


Suppose I want to write a function that takes a generic
pointer as an argument and I want to simulate passing it by
reference. Can I give the formal parameter type void **, and
do something like this?

void f(void **);
double *dp;
f((void **)&dp);



Suppose I want to write a function that takes a generic pointer as an argument and I want to simula..

Answer / shruti_kamthe

why **??

function that takes generic pointer argument.
declare pointer as void *

void f(void *);

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More C Interview Questions

What is use of pointer?

0 Answers  


Write the control statements in C language

0 Answers   Atos Origin,


What is void main ()?

0 Answers  


What is the size of structure in c?

0 Answers  


c program to arrange digits in a no in ascending and descending order

1 Answers  


What is clrscr ()?

0 Answers  


What is the meaning of int *x[]();?

1 Answers  


What's the best way to declare and define global variables?

7 Answers  


input any 4 digit number and find the difference of all the digits?

3 Answers   Google,


Discuss the function of conditional operator, size of operator and comma operator with examples.

0 Answers   TCS,


i want to know the procedure of qualcomm for getting a job through offcampus

0 Answers   HCL,


write a program to find a given no. is divisible by 3 or not without using any arthimetic operators?

3 Answers   Broadcom, TCS,


Categories