McqMate
| Q. |
Consider the following definition in c programming language
|
| A. | ptr=(node*)malloc(sizeof(node)); |
| B. | ptr=(node*)malloc(node); |
| C. | ptr=(node*)malloc(sizeof(node*)); |
| D. | ptr=(node)malloc(sizeof(node)); |
| Answer» A. ptr=(node*)malloc(sizeof(node)); | |
View all MCQs in
Data Structure and Algorithms (DSA)No comments yet