What is the difference between null pointer and void pointer

Answer Posted / ksm st

null pointer doesn't points the any memory location but void pointer points the memory location of different type.
void pointer returns no value but null pointer returns the null value.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is line in c preprocessor?

605


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1623


What is the difference between int main and void main?

564


What do you know about the use of bit field?

600


A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

614






A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

643


what is recursion in C

601


Which header file is used for clrscr?

566


Explain that why C is procedural?

648


What are the loops in c?

588


Difference between strcpy() and memcpy() function?

669


What is a pointer on a pointer in c programming language?

610


Give differences between - new and malloc() , delete and free() ?

601


how to find binary of number?

3411


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

645