What is a block? When might you might use a block
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:5| Question number:2
All Answers
total answers (1)
belongs to book: C++ Primer|Stanley B.Lippman, Josee Lajoie, Barbara E.Moo|5th Edition| Chapter number:5| Question number:2
total answers (1)
A block (also called compound statment) is a (possibily empty) sequence of statements and declarations surrounded by a pair of cruly braces. It is used where the language requires a single statement but the program's logic needs more than one.
need an explanation for this answer? contact us directly to get an explanation for this answer