What is the difference between null pointer and void pointer
Answer Posted / vignesh1988i
NULL POINTER :
the pointer which dosent point to any memory location is
called NULL POINTER.
VOID POINTER :
the pointer is a one which can only point to a particular
memory location of it's own type.... but when the pointer
is given void it can be mde to point any location of
different type
| Is This Answer Correct ? | 134 Yes | 13 No |
Post New Answer View All Answers
What are examples of structures?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What are the preprocessor categories?
What are loops c?
How can I read data from data files with particular formats?
Explain how to reverse singly link list.
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
how should functions be apportioned among source files?
Why is c still so popular?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
What does the file stdio.h contain?
what type of questions arrive in interview over c programming?
What is a 'null pointer assignment' error?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.