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);
why **??
function that takes generic pointer argument.
declare pointer as void *
void f(void *);
| Is This Answer Correct ? | 1 Yes | 0 No |
Write a program that accept anumber in words
How are portions of a program disabled in demo versions?
WRITE A C PROGRAM TO FIND SECOND BIGGEST VALUE FROM THE GIVEN VALUES
write a c program that prints all multiples of 3between 1 and 50.
What is the proper way of these job Tell me about there full work
What is the output of the following program main();{printf ("chennai""superkings"}; a. Chennai b. superkings c. error d. Chennai superkings
How will you divide two numbers in a MACRO?
When is a null pointer used?
What is calloc() function?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
a.One Cannot Take the address of a Bit Field b.bit fields cannot be arrayed c.Bit-Fields are machine Dependant d.Bit-fields cannot be declared as static Which of the Following Statements are true w.r.t Bit-Fields A)a,b&c B)Only a & b C)Only c D)All
3 Answers Accenture, Digg.com,
which of 'arrays' or 'pointers' are faster?