answersLogoWhite

0

C programs are composed from data types and functions. Functions are composed from one or more statements. A statement is composed from one or more expressions terminated by a semi-colon. A semi-colon without an expression is itself a statement (an empty statement).

Every C program must have at least one function, the global main function. This serves as the entry-point of the application. When we return from the main function, the program terminates normally.

The C standard requires that the global main function return an integer to the execution environment, where the value 0 is conventionally used to indicate "no error". As such, the minimum C program is as follows:

int main (void) {

return 0;

}

User Avatar

Wiki User

8y ago

Still curious? Ask our experts.

Chat with our AI personalities

FranFran
I've made my fair share of mistakes, and if I can help you avoid a few, I'd sure like to try.
Chat with Fran
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
More answers

Every statement in C must be terminated with a semi-colon. A statement without a semi-colon is not a statement, it is just an expression.

User Avatar

Wiki User

8y ago
User Avatar

The ; (semi-colon).

User Avatar

Wiki User

14y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What punctuation ends most lines of C and C plus plus code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What languages is the software Blender written in?

The code of Blender includes programming languages C (most lines), C++ (second most lines) and Python (the least amount of lines). Altogether, there are more than 300,000 lines of script.


What is spacing between lines or text?

Line spacing is the space between the lines of code. Most programming languages ignore whitespace, which allows you to insert blank lines in order to help separate blocks of code to make the code more readable. However this is not strictly the same as line spacing, which is normally defined by the typeface employed by your code editor. Word-processing programs allow you to specify different line spacings depending on whether an element is a paragraph, a bullet point or some other construct. But programming editors are typically plain-text editors and do not generally have line-spacing characteristics, hence the need to insert blank lines.


What is the most widely used binary code for microcomputers?

ASCII (American Standard Code for Information Interchange)


Is binary code the source code?

No. In short, binary code is the code your computer executes, it can be in many forms, ranging from bytecode, which must be interpreted, but is pre-compiled to machine code, which is directly run by the system, and is generally specific to a particular system. Source code is the code of the program, as written by the programmer. It is written in a language that can be translated into instructions understood by computers. Most of the times, binary code is not easily human readable whereas source code is.


What is the most common use of type 'b' compression fitting in plumbing?

The type-B variants are called manipulative as they call for the tubing modifications. Such fittings are incorporated in the setups of special supply lines such as gas lines.