What is false about the following -- A compound statement isA. A set of simple statementsB. Demarcated on either side by curly bracketsC. Can be used in place of simple statementD. A C function is not a compound statement.

This question is related to TCS Interview

Showing Answers 1 - 17 of 17 Answers

vamsi kumar

  • Jan 19th, 2006
 

A Compound statement is a set of simple statements.i.e.,ans:A

  Was this answer useful?  Yes

gaurav

  • May 10th, 2006
 

A COMPOUND STATEMENT IS A SET OF SIMPLE STATEMENTS.

  Was this answer useful?  Yes

Since we all know that ---

A set of simple stmt is together called as a compound stmt. so A can't be false.

Since a compound stmt is a set of siimple stmt, it can be used instead of simple stmt.

A function consist of many simiple executable lines, these all are put together inside the brakets

So D is the answer, since A is true, so D will also be true. function is a collection of simple stmts...

  Was this answer useful?  Yes

Gayathri v

  • Apr 24th, 2020
 

Here the false is asked.So the correct answer is option C

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions