answersLogoWhite

0


Best Answer

The execution character set is composed from the printable ASCII characters. However, not all printable characters can actually be used as identifiers; only the letters, underscore and digits may be used. Furthermore, an identifier cannot begin with a leading digit because a leading digit would signify that the digit is the most-significant digit of a numeric value. Allowing leading digits in identifiers would over-complicate the language parser.

User Avatar

Wiki User

7y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

False

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Is it any valid printable ascii character can be used inan identifier?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the difference between null pointer ASCII null character and null string?

A null pointer is a pointer which does not point to any valid memory location, and usually contains the binary value "0" to represent this (this is language dependent). The ASCII null character is a character-sized zero value (in ASCII, it is an unsigned byte with a value of 0), and typically represents the end of a string (esp. as in C and C++). A null string is one that is zero characters of usable string data; in a length-based string, this means the length parameter is set to 0, and in an ASCII null-terminated string, means the first character is set to 0.


Are a10 and 10a same in C language?

No, 'a10' and '10a' are not the same in the C language. In C, identifier names must start with a letter or an underscore, so 'a10' is a valid identifier, while '10a' is not.


Is special symbols are valid as a string in java?

Yes. Any special character inside the String is considered as part of the string variable and would not be treated as a special character. Ex: String str = "ABC_$4"; is a valid string declaration


General syntax in creating a method?

A Java method declaration will look like this:[access modifier] [static] [final] [synchronized] [return type] [method name]([parameters])Where:access modifier is exactly one of the followingpublicprotected(no text)privatestatic, final, and synchronized are all optional.return type is exactly one of the followingvoidThe name of a Java primitiveThe name of a Java classmethod name is a valid Java identifier which must conform to all of the following rulesStarts with a lowercase letter (a-z), an uppercase letter (A-Z), a dollar sign ($), or an underscore (_)After the first character, may be a digit(0-9), a lowercase letter (a-z), an uppercase letter (A-Z), a dollar sign ($), or an underscore (_)May not be one of the Java keywordsMay not be one of the Java literals: true, false, or nullparameters is a comma-separated list of [type] [identifier] pairs, where:type is a valid Java primitive or class nameidentifier is a Java identifier, which conforms to the same rules as method name


Can variable names can have spaces between them?

No. int my variable; <- not a valid declaration Java naming conventions say that you should use capital letters to differentiate words in a variable name. int myVariable; <- valid! Note that you can use the _ (underscore) character, as well, though some people suggest avoiding this. int my_variable; <- also valid!

Related questions

Why is Asian in squares on computer?

Because certain standards such as ASCII have different values than an Asian character set. for example, if the letter (Asian letter here) is represented by 129h in an Asian character set, then when 129h is tried to be put into ASCII, it fails, because 129h is not a valid character in ASCII, and is then shown as a box.


What is the rules to be valid identifier?

In what language?


Is A N D is an identifier?

A N D is not an identifier as it has spaces in between each letter. A valid identifier DOES NOT have space in it.


What are the rules in constructing a valid identifier?

_,a-z, or A-Z


What is the difference between null pointer ASCII null character and null string?

A null pointer is a pointer which does not point to any valid memory location, and usually contains the binary value "0" to represent this (this is language dependent). The ASCII null character is a character-sized zero value (in ASCII, it is an unsigned byte with a value of 0), and typically represents the end of a string (esp. as in C and C++). A null string is one that is zero characters of usable string data; in a length-based string, this means the length parameter is set to 0, and in an ASCII null-terminated string, means the first character is set to 0.


Do the CVS coupons printable have to be in color?

No, the CVS printable coupons do not have to be in color. They are still completely valid in black and white.


Where to find valid Walmart printable coupons?

Walmart printable coupons can be found on various websites such as couponsfor walmart.com and thewallyworldwoman.com. Both these sites do printable coupons.


what symbol is not a valid entry for a cell that requires a number?

Anything thats Not ASCII


Yacc program to recognize a valid variable which starts with letters followed by any number of level of digits?

%{ #include<stdio.h> int valid=1; %} %token digit letter %% start : letter s s : letter s | digit s | ; %% int yyerror() { printf("\nIts not a identifier!\n"); valid=0; return 0; } int main() { printf("\nEnter a name to tested for identifier "); yyparse(); if(valid) { printf("\nIt is a identifier!\n"); } }


How many characters are in a nibble?

A nibble (also known as a nybble or nyble) can represent half a character(two nibbles are needed for a valid ASCII character). A nibble is made up of 4 bits and those 4 bits are usually represented by a single hexadecimal value. 4 bits only allows for 16 combinations, 8 bits allows for 255. An ASCII character is represented by two hexadecimal characters, which is the same as 8 bits or two nibbles.


What Requires one byte of storage?

8 digits of binary code (either 0s or 1s) for instance 00101001 each digit takes up one bit, there are 8 bits in a byte. Usually, a byte holds 1 character, either a letter or #


Why does not unix use 0 as a valid process identifier?

0 is used as a Valid Process identifier. It is used as the PPID for /etc/init that starts everything on the server. The PPID Is the Parent Process Identifier. The Parent Process is Process 0, or the System Startup Process. All processes spawn from this PPID. PID 1 is /etc/init which starts up everything else.