What is the difference between null pointer and void pointer
Answer Posted / govind
a void pointer is a special type of pointer of void and
denotes that it can point to any type of data type .NULL
pointer can take any pointer type , but do not point to any
valid reference or memory adderss.it is important to note
that a NULL pointer is different from a pointer that is
initialized.
Is This Answer Correct ? | 19 Yes | 8 No |
Post New Answer View All Answers
What is formal argument?
What does sizeof int return?
How can I open files mentioned on the command line, and parse option flags?
What is the purpose of void in c?
What are terms in math?
What is the use of a semicolon (;) at the end of every program statement?
What is the benefit of using const for declaring constants?
What is a nested formula?
what are bit fields? What is the use of bit fields in a structure declaration?
List the variables are used for writing doubly linked list program.
program for reversing a selected line word by word when multiple lines are given without using strrev
What is meant by gets in c?
Is c is a middle level language?
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
What is cohesion in c?