Solved

Given the Structure Definition:
Const Int STRING_SIZE = 20;
Struct \quad

Question 28

Essay

Given the structure definition:
const int STRING_SIZE = 20;
struct ListNode
{
\quad char item[STRING_SIZE];
\quad int count;
\quad ListNode *link;
};
ListNode *head = new ListNode;
Give code to assign the string "Wilbur's brother Orville" to the member item of the variable to which head points.Hint: you need a function declared in cstring.

Correct Answer:

verifed

Verified

strcpy(hea...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions