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 |
1.Why do you call C is middle level language? 2.Why do you call C is userfriendly language.
List the difference between a "copy constructor" and a "assignment operator"?
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
#include<stdio.h> void main() { int =1; printf("%d%d%d",a++,++a,++a); }
writw a program to insert an element in the begning of a doubly linked list
Do you know the difference between malloc() and calloc() function?
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
how can i calculate mean,median,mode by using c program
Can a pointer be null?
Is the exit() function same as the return statement? Explain.
0 Answers Agilent, ZS Associates,
Explain the difference between structs and unions in c?
Bit swapping