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


Please Help Members By Posting Answers For Below Questions

How can you allocate arrays or structures bigger than 64K?

889


Explain how can I make sure that my program is the only one accessing a file?

880


Differentiate between the = symbol and == symbol?

926


What is a header file?

834


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

1870


How macro execution is faster than function ?

874


What is meant by operator precedence?

879


What is static volatile in c?

751


Why do we write return 0 in c?

780


write a program to find the given number is prime or not

4282


Differentiate between functions getch() and getche().

805


What is the difference between %d and %i?

816


How can a process change an environment variable in its caller?

921


Explain the Difference between the New and Malloc keyword.

878


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1871