What is the difference between null pointer and void pointer
Answer Posted / lakhpat
A Void pointer is a special type of pointer of void and
denotes that it can point to any data type. NULL pointers
can take any pointer type, but do not point to any valid
reference or memory address. It is important to note that a
NULL pointer is different from a pointer that is not
initialized.
Is This Answer Correct ? | 12 Yes | 1 No |
Post New Answer View All Answers
Explain how can I open a file so that other programs can update it at the same time?
Not all reserved words are written in lowercase. TRUE or FALSE?
Why doesn't C support function overloading?
What is the c language function prototype?
What is structure in c definition?
How can I implement sets or arrays of bits?
How to declare a variable?
What is the difference between procedural and declarative language?
Explain how can I prevent another program from modifying part of a file that I am modifying?
Why is extern used in c?
Write a Program to accept different goods with the number, price and date of purchase and display them
Write a program for Overriding.
Using which language Test cases are added in .ptu file of RTRT unit testing???
What are dangling pointers? How are dangling pointers different from memory leaks?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers