answersLogoWhite

0

All statements must be terminated with a semi-colon in C.

User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

Which symbol is used as a statement terminator in C?

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


Can you print string without using semi column in C programming?

Sure. You can write any string, containing or not-containing semicolons (or commas, full stops etc). On the other hand, you cannot write programs without statements, and you have to terminate statements with semicolon.


Which keystroke will terminate setup mode?

ctrl c


Can drinkink lime juice terminate 6 weeks pregnancy?

No, vitamin C can not terminate a pregnancy. You need to see a doctor for a abortion.


What is meant by TSR in C?

It means Terminate-Stay-Resident. A TSR is a program that remains in memory when the program ends.


Control statement in c plus plus?

Control statements are statements that alter the flow of execution according to the evaluation of an expression (the condition). The C++ control statements are ifstatements, switch statements and the tertiary conditional operator, ?:.


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

Because that is the defined statement terminator of the language.


What is statement in C programing?

One of the statements, obviously.


What ends every C statements?

A semi colon;


How do you terminate in C language a loop?

The keyword "break" will immediately terminate the enclosing loop. Otherwise using conditions in the loop will terminate the loop once the condition becomes false. eg int i = 0; int b =0; for(i ; i < 3; i ++){ b++; } Will increment i and b on each iteration. The loop will terminate when i >= 3 (when the condition i < 3 becomes false).


What is the difference between statements in c plus plus charconstp and char constp?

There is no difference. Both statements are invalid.


What are the standardized syntax in c language?

Standardized syntax in the C language includes rules for defining variables, data types, control structures (like loops and conditionals), functions, and the overall structure of a C program. Key components include the use of semicolons to terminate statements, curly braces to define code blocks, and the use of parentheses for function calls and expressions. C also employs preprocessor directives, such as #include for including libraries. Adhering to these conventions ensures that C code is portable and can be compiled across different platforms.