What is the difference between null pointer and void pointer
Answer Posted / lakhpat
A Void pointer is a special type of pointer of void and
denotes that it can point to any data type. NULL pointers
can take any pointer type, but do not point to any valid
reference or memory address. It is important to note that a
NULL pointer is different from a pointer that is not
initialized.
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
What is New modifiers?
Why does everyone say not to use scanf? What should I use instead?
What is #include in c?
write a program to find the given number is prime or not
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What are the advantages of external class?
Can we use visual studio for c?
Why is c used in embedded systems?
write a program which the o/p should b in such a way that s triangle if I/p is 3,a Square/rectangle if I/P=4,a pentagon if I/P=5 and so on...forget about the I/P which is less than 3
What is the difference between the expression “++a” and “a++”?
What is wrong with this initialization?
What is the argument of a function in c?
Is calloc better than malloc?
what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values