214k views
0 votes
James is writing a program in C++ and forgets to put curly braces where they are supposed to be. James will see a message about which of the following when the program is run? database error variable error binary error syntax error

User Dmarvs
by
4.6k points

1 Answer

5 votes

Answer:

syntax error

Step-by-step explanation:

curly braces demarkate code blocks. omitting them and code may violate the syntax, hence produce a syntax error.

User Oschlueter
by
5.0k points