Computer Science, asked by RUDEGIRL, 1 year ago

What are the valid places to have keyword “Break”?

Urgent Plzzzzzzz

Answers

Answered by EHSASS
2

╰☆☆ ʜᴇʀᴇ ɪs ʏᴏᴜʀ ᴀɴsᴡᴇʀ ☆☆╮

✔️ You can break your keywords in Title , Meta keyword and description and you can also break your keywords in hyperlinks and in different anchor tag.

You can also break your keyword in “Hidden text and hidden content”. And get your traffic by using keyword wisely.

ᴇʜsᴀss ✿◕ ‿ ◕✿

Answered by siddhartharao77
2

Sample notes on 'Break' keyword:

(i) This 'Jump' statement is used to terminate the execution of the loop.

(ii) When a break statement is encountered, the control comes out of the loop and loops gets terminated.

(iii) The main purpose is "It brings the control out of the code block which is executing".

(iv) It can be used in both switch and loop statements.

(v) it terminates the loop body immediately and passes control to next statement after loop.

(vi) If it is used within the nested loop, it breaks out only the innermost loop and it wont affect the outer loop.

Example:

void main()

{

int i;

for(i = 1; i <7; i++)

{

if(i == 4)

{

break;

}

printf("%d \n",i);

}

return 0;

}

Output:

1

2

3

Explanation:

In the 4th iteration, the value of i becomes 4. The condition(i == 4) is checked since it is true. The break statement is executed and the control comes out of the for loop to execute the statement following it.

Hope it helps!

Similar questions