answersLogoWhite

0

What are separators in c plus plus?

Updated: 11/4/2022
User Avatar

Wiki User

12y ago

Best Answer

Separators include commas, colons, semi-colons and white-space.

Semi-colons are used to indicate the end of a code block or to separate one function from the next.

Commas are used to separate function arguments, or to separate structure variables and class member initialisation lists (comma-separated lists).

Colons are mainly used to signify class inheritance and the start of class initialisation segments.

White-space separates a variable type from its name, but is also used to aid the readability of code.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are separators in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the need of separators in java?

Separators are the characters which stands for puncuations in java such as brackets,braces etc


What is b plus b plus b plus c plus c plus c plus c?

b+b+b+c+c+c+c =3b+4c


What is c plus c plus 2c plus c plus c equal?

c + c + 2c + c + c = 6c


B plus b plus b plus c plus c plus c plus c equals?

b + b + b + c + c + c + c = 3b + 4c


Symplify c plus c plus c plus c?

4c


What is c plus c plus c plus c plus c?

c + c + c + c + c = 5 * c.


Primary and secondary key in c and c plus plus?

There are no "primary and secondary keys" in c and c plus plus.


What is tag used to create horizontal separators?

Horizontal separators are created by the HR tag. It creates a horizontal line after the element.


What is c plus C plus C answer in algebra?

3c


What is the token in c plus plus language?

A token in C++, and in many other computer languages as well, is the largest set of characters in the source code that meets the criteria of a single language element. Often, tokens are separated by white space, but if the context is clear, this is not required. The expression a=b+c, for instance, contains 5 tokens, a, =, b, +, and c. The expression a = b + c is identical in meaning. The "largest set" rule can be shown with the example a=b+++c. The tokens are a, =, b, ++, +, and c. This expression means to add b and c, store the result in a, and then increment b.


What can act as Geographic separators?

Some geographic separators are: Large Bodies of Water (Ocean, sea, etc.) Mountains Canyons Hills


What is the different between turbo c plus plus and unix c plus plus?

There is no such thing as 'unix C++'.