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
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What's the right way to use errno?
What is the basic structure of c?
Which is more efficient, a switch statement or an if else chain?
Explain why c is faster than c++?
What does char * * argv mean in c?
What is meant by 'bit masking'?
What is data structure in c language?
What are the advantages and disadvantages of a heap?
how do you programme Carrier Sense Multiple Access
What happens if you free a pointer twice?
What is restrict keyword in c?
Explain what are header files and explain what are its uses in c programming?
Describe the order of precedence with regards to operators in C.
Are pointers integers in c?