in Technology by (1.8m points)

Is it possible to use curly brackets ({}) to enclose a single line code in C program?

1 Answer

0 votes
by (1.8m points)
Yes, it works without any error. Some programmers like to use this to organize the code. But the main purpose of curly brackets is to group several lines of codes.

Related questions

0 votes
asked Nov 26, 2021 in Education by JackTerrance (1.8m points)