Which of the following statements is correct with respect to the TeleType structure declaration?
Struct TeleType
{
Char name[30];
Char phoneNum[15];
Struct TeleType *nextaddr;
};
A) It is not valid in C
B) Can be used to create a linked list of TeleType structures
C) May be valid depending on the compiler
D) Generates a "self-referencing" compiler warning
Correct Answer:
Verified
Q28: Structures that are "linked" together by including
Q29: All programming languages that support pointers provide
Q30: In C, the special NULL pointer value
Q31: The indirection operator in C is _.
A)")"
B)->
C)&
D)*
Q32: The expression *emp.ptPay is equivalent to the
Q34: The following is an example of the
Q35: The structure pointer operator is _.
A)")"
B)->
C)&
D)*
Q36: The expression t1.nextaddr->name is evaluated as _.
A)t1(.nextaddr->name)
B)(t1.nextaddr->)name
C)t1.(nextaddr->name)
D)(t1.nextaddr)->name
Q37: The expression t1.nextaddr->name can be replaced by
Q38: The following function cycles through a linked
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents