Hire Our Expert Programmer & Technical Writer to do your Capstone Project
+2 votes
in Programming Languages & Algorithms by

1 Answer

+1 vote
selected by (user.guest)
Best answer

The argument for using the right brace to close all compound statements is simplicity: right brace always terminates a compound.

The argument against it is that when you see a right brace in a program, the location of its matching left brace is not always obvious sometimes because all multiple-statement control constructs end with a right brace.

If you found this answer helpful, please upvote and share with other students in your network.

Related questions

+1 vote
2 answers 859 views
–1 vote
1 answer 664 views
Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.