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 is the use of sizeof () in c?
What is void c?
What library is sizeof in c?
What does it mean when a pointer is used in an if statement?
Why is conio.h not required when we save a file as .c and use clrscr() or getch() ?
What are type modifiers in c?
write a prgram of swapping with 2 valiables
What is structure in c definition?
write a program of bubble sort using pointer?
how to write a prog in c to convert decimal number into binary by using recursen function,
1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
a linear linked list such that the link field of its last node points to the first node instead of containing NULL a) linked list b) circular linked list c) sequential linked list d) none