InterviewSolution
Saved Bookmarks
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Anyone of the followings can be used to declare a node for a singly linked list. If we use the first declaration, “struct node * nodePtr;” would be used to declare pointer to a node. If we use the second declaration, “NODEPTR nodePtr;” can be used to declare pointer to a node./* First declaration */struct node {int data;struct node * nextPtr;};/* Second declaration */typedef struct node{int data;NODEPTR nextPtr;} * NODEPTR;(A) TRUE(B) FALSE |
| Answer» | |