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

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

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.

Leave a Reply

Your email address will not be published.