What punctuation is used to signal the beginning and end of code blocks?
Answers
Answered by
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
Chemistry,
5 months ago
Science,
5 months ago
Computer Science,
5 months ago
Math,
9 months ago
Math,
9 months ago
Psychology,
11 months ago
Physics,
11 months ago