what is void pointer?
Answers were Sorted based on User's Feedback
Answer / rajesh
Void pointer is the
pointer which itself is
null and can not be
interchanged by others.
Ex-
{
int *a;
void *b;
*a=*b; //valid
a=b; //invalid
}
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sanjay bhosale
Void pointer is the pointer which can point to any type of variable.
e.g
int a=10;
float b=20.00f;
void *ptr=null;
ptr = &a;
ptr = &b;
| Is This Answer Correct ? | 0 Yes | 0 No |
What will be the output of x++ + ++x?
What type is sizeof?
Consider the following C program. #include <stdio.h> int main() { int i; for (i=0;i<3;++i) { fork();fork(); } } How many processes are created when running this program (including the initial one)? Explain
What is difference between array and pointer in c?
write a program to display reverse of a number using for loop?
What is table lookup in c?
what does " calloc" do?
What is the purpose of void pointer?
c program to compute AREA under integral
What is the difference between far and near ?
Define the scope of static variables.
hi any body pls give me company name interview conduct "c" language only