What is the difference between null pointer and void pointer
Answer Posted / siva prasad
A null pointer is a value. It is a special reserved value used to indicate that the pointer is not pointing to anything conceptually.
A void pointer is a type of pointer, void* . It is used to indicate that the storage location pointed to by the pointer has no specific type.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can I open files mentioned on the command line, and parse option flags?
What is an endless loop?
In which language linux is written?
What is the purpose of realloc()?
What is a macro?
Write a program in c to replace any vowel in a string with z?
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
Explain what is the difference between far and near ?
What is typeof in c?
What are the types of data types and explain?
Why are all header files not declared in every c program?
What is c language & why it is used?
Explain that why C is procedural?
What is the use of sizeof?
When should a type cast not be used?