Top

Discussion

Anyone of the following can be used to declare a node for a singly linked list and “NODEPTR nodePtr;” can be used to declare pointer to a node using any of the following

/* First declaration */
typedef struct node
{
 int data;
 struct node *nextPtr;
}* NODEPTR;
 
/* Second declaration */
struct node
{
 int data;
 struct node * nextPtr;
};
typedef struct node * NODEPTR;

 

  • A.TRUE
  • B.FALSE

Answer: A

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment