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

Trainee Asked on November 5, 2019 in C Language.
Add Comment
1 Answer(s)

Yes, it is working 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.

Reviewer Answered on November 5, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.