compound statements

mcqspedia.com has 2 Question/Answers about Topic compound statements

This statement {int temp = x; x = y; y = temp ;} is an example of

This statement {int temp = x; x = y; y = temp ;} is an example of
  • A. Conditional statement
  • B. Compound statement
  • C. Arithmetic statement
  • D. None of them
  • Correct Answer: Option B

Sequence of statements that is treated as a single statement, is called

Sequence of statements that is treated as a single statement, is called
  • A. Conditional statement
  • B. Compound statement
  • C. Arithmetic statement
  • D. All of them
  • Correct Answer: Option B