+1 vote
16 views

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

in Technology by (191k points)

1 Answer

0 votes
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.
by (191k points)

Related questions

+1 vote
1 answer 95 views
+1 vote
1 answer 12 views
0 votes
1 answer 9 views
9 views asked Nov 9, 2020 in Technology by JackTerrance (191k points)
+1 vote
1 answer 10 views
+1 vote
1 answer 19 views
+1 vote
1 answer 7 views
+1 vote
1 answer 35 views
+1 vote
1 answer 9 views
+1 vote
1 answer 19 views
+1 vote
1 answer 17 views
+1 vote
1 answer 44 views
0 votes
1 answer 32 views
...