English, asked by sriganesh1248, 9 months ago

What punctuation is used to signal the beginning and end of code blocks?

Answers

Answered by lovingheart
0

Open braces and closed braces are the commonly used punctuation to signal the beginning and end of the code blocks. These curly braces are used in if loop, for loop, while and do while loops, user-defined function. If the mentioned looping structure consists of more than one statement then it is necessary to provide open and close braces to signal that the set of lines of code belong to a particular looping structure or function.

Similar questions