Suppose your program contains the following type definitions:
struct Box
{
string name;
int number;
Box *next;
};
typedef Box* BoxPtr;
What is the output produced by the following code?
BoxPtr head;
head = new Box;
head->name = "Sally";
head->number = 18;
cout <>
cout <>name
cout <>number
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here