Which of the following cannot be a structure member? A. Another structure B. Fun
ID: 3572914 • Letter: W
Question
Which of the following cannot be a structure member? A. Another structure B. Function C. Array D. None of the above Which among the following is NOT a logical or relational operator? A. != B. C. || D. = Which of the following is a correct format for declaration of function? A. return-type function-name(argument type); B. return-type function-name(argument type){} C. return-type (argument type)function-name; D. Both (a) and (b) Relational operators cannot be used on A. Structure B. char C. int D. float Which of the following is an invalid assignment operator? A. a % = 10; B. a/= 10; C. a* = 10; D. None of the mentionedExplanation / Answer
answer6:
(B)we can not define function inside struct in c
answer7:
(D) = is an assignment operator
answer8:
(A) function declaration wont have body so
return-type function-name(argument type ); is correct
Answer9:
(A) relational operator can be used only on primitive type not reference type so we can not use relation operator on strucure
Answer10:
(D) None of the mentioned because %=,/= and *= are assignment operator
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.