What is the difference between null pointer and the void
pointer?
Answer Posted / sunitha
null pointer : used to compair a pointer to any object or
a function and returns a null value to the main function.
void pointer : void pointer ia pointer which does not have
any return type and it can be easily type casted with other
type of pointers.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is variable in c example?
What are predefined functions in c?
What are derived data types in c?
What does the function toupper() do?
What is logical error?
Explain the properties of union. What is the size of a union variable
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Which of these functions is safer to use : fgets(), gets()? Why?
Is c a great language, or what?
Explain what is a pragma?
can we change the default calling convention in c if yes than how.........?
Define Spanning-Tree Protocol (STP)
What is the difference between declaring a variable and defining a variable?
Are local variables initialized to zero by default in c?
What are pointers? Why are they used?