answersLogoWhite

0

When a statement is followed by a semicolon, this means that there is going to be another statement following the first statement which is related to it closely enough that it should not become a separate sentence.

User Avatar

Wiki User

14y ago

What else can I help you with?

Continue Learning about Algebra

What is the difference between a statement and a clause in SQL?

An SQL statement is a complete set of clauses which returns a value and ends with a semicolon(;) A statement is made up of several clauses Ex: select * from person where f_name='me'; In this ex ' select * from person where f_name='me';' is the statement and select*, from person, where f_name= are the clauses


Why do have use semi colon in matlab?

In MATLAB, a semicolon is used to suppress the output of a command in the command window. When you place a semicolon at the end of a line, MATLAB executes the command without displaying the result, which helps keep the output clean and manageable, especially when working with large datasets or performing multiple operations. If you want to see the output, simply omit the semicolon.


How do you use semicolon in if sentence?

I wouldn't use a semicolon in a conditional (if) sentence. Semicolons can join two independent clauses without a conjunction. The "if" clause in a conditional sentence is dependent, not independent.


Do you put a quotation mark before or after the semi-colon that follows it?

The quotation mark would go before the semicolon, because the semicolon represents the beginning of a new thought in the same sentence.


When should you not use a semicolon?

You should not use a semicolon to separate two independent clauses that are not closely related in meaning. Additionally, it is incorrect to use a semicolon before conjunctions like "and," "but," or "or" when they connect independent clauses. Semicolons should also be avoided when connecting dependent clauses or items in a list that already contain commas.

Related Questions

Which symbol is used as a statement terminator in C?

semicolon ';' (Not applicable for block-statements)


What is a statement that has only a semicolon standing alone?

A single semicolon standing alone does not form a complete statement.


Why the semicoloumn is used in c program?

Why semicolon? Tradition.What does it do? Terminates a single statement, eg:i+= 3; /* expression is a single statement */{ i= 3; --j; } /* no semicolon after the compound statement */


Where you have to put semicolon in c programming?

For clasesses it defines from which class to inherit. :: means area of visibility in certain name space.


If you give semicolon after if?

You mean this: if;Syntax error.Or you mean: if (condition);Perfectly legal; if the condition is true, nothing happens. If the condition is false, the else-statement is executed (if there is an else-statement).


What is executable statement of c language?

anything ending in semicolon/;


Without printf statement semicolon print the statement?

int main (void) { if(printf("Print whatever you want")) { } }


What is statement terminator?

Semicolon, in some languages. Line-end in some others.


Can you write plus at end of c statement?

No. That would be a syntax error. Only a right semicolon (;) can go at the end of a statement.


What type of a key is a semicolon key?

The semicolon key is considered a punctuation key on a keyboard. It is typically used to insert a semicolon (;) into text, which serves as a punctuation mark to connect closely related ideas or to separate items in a complex list. In programming, the semicolon often functions as a statement terminator in various languages.


Why you use semicolon to terminate the lines in C programming?

Because that is the defined statement terminator of the language.


Every complete statement ends with a?

Any teacher will expect you to answer by saying a semicolon (;), but this is not strictly true. First of all, the definition of a "line of code" varies from teacher to teacher and textbook to textbook. Second, even the Java Language Specification lists several types of Java statements which do not need to end in a semicolon.In general, a complete Java statement will end in either of semicolon or a closing block brace.