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
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
How is a null pointer different from a dangling pointer?
Where are c variables stored in memory?
How can you tell whether a program was compiled using c versus c++?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
How can I find out if there are characters available for reading?
Why is structure padding done in c?
How is a pointer variable declared?
What is the difference between fread and fwrite function?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
What is the difference between array and pointer?
What is the use of linkage in c language?
What are static variables in c?