New course! Every coder should learn Generative AI!
Try a free lesson0
Is it necessary to put statements after "if" in curly braces? In cpp
1 Answer
+ 16
agreed with @ Luka
for e.g. In Cpp you don't need to put curly brasis for one statement. but needs to put on a block of two or more statements.