answersLogoWhite

0


Best Answer

Any letter of the Greek or Roman alphabet, or any other alphabet can be used to represent a variable. There are also non-alpha symbols, for example for the Dirac constant (or reduced Planck constant).

User Avatar

Wiki User

βˆ™ 9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the special symbol allowed in a variable name?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

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


Can keyword be used as variables?

No, any keyword could be used as a identifier (a method, class or variable name). These keywords have a special meaning in the language and the compiler can not identify if they are used as a variable name or as a keyword,


Which data structure in a compiler is responsible for managing information about variables and their attributes?

It is up to the designer of the compiler to decide... it can be something like this: struct Type; struct Block; typedef struct Variable { const char *name; struct Type *type; struct Block *block; /* refers to the block that is the scope of the variable */ int attributes; /* volatile, const, static etc */ } Variable;


What is Variable Shadowing in Java?

In Java, there are three kinds of variables: local variables, instance variables, and class variables. Variables have their scopes. Different kinds of variables have different scopes. A variable is shadowed if there is another variable with the same name that is closer in scope. In other words, referring to the variable by name will use the one closest in scope, the one in the outer scope is shadowed.A Local Variable Shadows An Instance VariableInside a class method, when a local variable have the same name as one of the instance variable, the local variable shadows the instance variable inside the method block.


Is a global variable a non-local variable?

True, a variable cannot be both global and local. But if a global and a local variable share the same name, the local one will hide the global.

Related questions

What is the name of a symbol that stands for a number?

variable


What object or symbol is used to depict a vector?

An arrow pointing to the right above the variable name.


How do you put symbols in your name in Blockland?

You go to word and copy and past a symbol from the special symbol choices.


What is a variable representing the value being manipulated or changed called?

A variable is a symbol or name used to represent a value that can be manipulated or changed during the course of a program.


What is a ponters in c-programming?

with the help of pointers we able to store the memory location of any variable. In c the pointer variable is use to store the memory location of any variable. The pointer variable is define as a simple variable but in pointer variable use a special "*" character at the left most side of name of pointer variable. If any variable name have * it means it is a pointer variable it hold the memory location of variable.


Which one of these variables has an illegal name?

Variable names cannot start with a number or contain special characters except underscore. So, the variable "2myVar" has an illegal name.


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


The name for the triangle symbol that means change in?

The triangle symbol that means change is called the delta symbol. It is commonly used in mathematics and science to represent a change in quantity or variable.


What is a number variable or the product of a number and one more variables raised to whole number powers?

It is the integral power of the number or the product of the number and variable(s). there is no special name.


Can you have symbols in your signature?

Your legal signature is the way you sign your name, but is meant to help prove your identity and should match the signature on your official identification. Symbols are allowed, but are not encouraged. You can use hearts or stars to dot the I, for example, as long as your actual name appears and is not covered/defaced by the symbol. If the symbol is independent of your signature, such as drawing a symbol near your name, then the symbol is not allowed. This only refers to your legal signature being used on legal documents.


What is the name for a graph of variable X and variable Y?

the name for x variable is indepent name for y variable is depent


What is an expression with variable?

It is an expression that has some letters or symbols which can take a different values.