A

Admin • 833.24K Points
Coach

Q. Which of the following c code is used to create new node?

  • (A) ptr = (NODE*)malloc(sizeof(NODE));
  • (B) ptr = (NODE*)malloc(NODE);
  • (C) ptr = (NODE*)malloc(sizeof(NODE*));
  • (D) ptr = (NODE)malloc(sizeof(NODE));

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.