answersLogoWhite

0

All names must be composed from some combination of letters, digits and underscores. A name cannot begin with a leading digit but it must contain at least one letter. The only symbols that can physically separate one name from another are the binary operator symbols and semi-colons. Note that whitespace characters are only of relevance when a name identifies a type:

int x; // int is a type, x is a name; whitespace is essential here

int y, z; // comma-separated list of names; all whitespace within the list is ignored

x = y + z; // binary operators '=' and '+' separate the names (all whitespace is ignored)

User Avatar

Wiki User

8y ago

What else can I help you with?

Related Questions

How do you define a symbol such as plus or - as a variable in python?

Use a character variable. For example: plus = '+' minus = '-' You can now refer to these symbols using the variable names "plus" or "minus".


Which symbol is used with a variable to indicate to the script that you are reading the contents of that variable?

Which symbol is used with a variable to indicate to the script that you are reading the contents of that variable?


Why variable names are restricted?

To make the compiler/interpreter's work easier. In a happier word any kanji symbol or punctuation mark could be a variable name (or even a space!).


How does the language support variable names Are variable names case sensitive?

> How does the language support variable names? You can use any identifier to name a variable. > Are variable names case sensitive? Yes, in some languages, they are.


Is 7 a variable symbol?

no


Is a symbol for a number we don't know called a variable or graph?

An unknown number is a variable and its symbol is usually in the form of a letter such as x or y


A symbol used to represent a number?

#


What is a variable expression in math?

a variable expression in math is a symbol that is in a sentence


Hifen symbol and uderscore?

The hyphen symbol (-) is typically used to connect words or parts of words, while the underscore symbol (_) is often used in place of spaces within identifiers in programming, such as variable names. The hyphen symbol is also used in compound words and in some email addresses, while the underscore is commonly used in file names and URLs.


A symbol that stands for a number?

variable


What symbol separates the reactance from the products in a chemical reaction?

the arrow (--->)


What is a variable in math?

What is a Variable in Math?A variable in math is part of algebra and it is a symbol or letter that represents a number.