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 |
Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321
Hi Every one...........I have been selected for the SBI Clerk. But i m one month Pregnanat. So anyone please suggest me, is they take any objection on my joining .
4 Answers State Bank Of India SBI,
print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5
char p="data"; printf(p);
What is switch in c?
Is c easy to learn?
Find errors (1) m = ++a*5; (2) a = b ++ -c*2; (3)y = sqrt (1000);
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
Find the middle node in the linked list?? (Note:Do not use for loop, count and count/2)
how to find binary of number?
how to find sum of digits in C?
WAP to accept rollno,course name & marks of a student & display grade if total marks is above 200?