Computer Science, asked by Nitish4227, 8 months ago

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

Answers

Answered by scify
0

Answer:

depending on the programing language..

{ } or #

Answered by ishwaryam062001
0

Answer:

The curly braces are the most oftentimes used punctuation marks for this purpose.

Explanation:

In programming languages, curly braces ({ }) are in many instances used to sign the opening and quit of code blocks. The opening curly brace ({) marks the starting of a block of code, and the closing curly brace (}) marks the give up of that block.

This is usually used in languages like C, C++, Java, and JavaScript.

For example, a code block in Java may appear like this:

if (someCondition) {

// code block starts

doSomething();

doSomethingElse();

// code block ends

}

In addition to curly braces, different punctuation marks such as parentheses and rectangular brackets can also additionally be used to point out the starting and give up of code blocks in some programming languages.

However,

      The curly braces are the most oftentimes used punctuation marks for this purpose.

For more such related questions : https://brainly.in/question/35822234

#SPJ2

Similar questions