answersLogoWhite

0

If you give semicolon after if?

User Avatar

Anonymous

15y ago
Updated: 8/18/2019

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).

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

A sentence with the word semicolon?

I can give you several sentences.You use a semicolon to separate two clauses.A semicolon is like a comma with a period on top of it.You need to learn how to use the semicolon properly.


How many spaces do you put after a semicolon?

When using a semicolon you put one space after the semicolon.


What is the Tagalog of semicolon?

Tagalog translation of semicolon: tutuldok


When in punctuation should a colon and semicolon be used?

A colon is necessary when you want to emphasize something, establish a dialogue, start a list, or give clarity to titles. A semicolon is necessary when you need to give clarity to a series or indicate that two sentences are closely related to one another.


What are linking marks?

semicolon, comma, colon...


Can you put a semicolon before and?

Typically, the semicolon implies " and" and therefore using and after a semicolon is redundant.


Which symbol is used as a statement terminator in C?

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


When do you use a semicolon in algebra?

Well, according to what I learned when I was in Algebra I, you should never have to use a semicolon.


Which punctuation change will correct this sentence Todays test will cover the following punctuation marks the comma the semicolon and the colon?

add a comma after the semicolon.


Does and go before or after a semicolon?

It goes after a semicolon. "And" is a word that finishes off a idea/list, so it has to go after a semicolon.


Is this correct I know you have it just give it to me?

This is not correct because it is two complete sentences run together. They need to be separated by at least a semicolon, if not a period. 1) I know you have it; just give it to me. 2) I know you have it. Just give it to me.


How do you dial a semicolon on a landline phone?

You can't dial a semicolon on a landline phone, nor on a mobile phone, for that matter. It's probably a good thing, then, that you never need to dial a semicolon on any kind of telephone, since a semicolon cannot be part of a telephone number.