answersLogoWhite

0

What is the rules to be valid identifier?

Updated: 8/19/2019
User Avatar

Wiki User

12y ago

Best Answer

In what language?

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the rules to be valid identifier?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the rules in constructing a valid identifier?

_,a-z, or A-Z


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.


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"); } }


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.


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.


What is parameters called?

Any identifier will do, there are no special rules for the names of the parameters.eg:int main (int argc, char **argv);


What are the rules ot the oppositional inferences and their example?

The rules of inference are syntactical transform rules that are used to make a conclusion from an idea to create an argument. The rules are used to make a valid, complete conclusion and never inferring a conclusion that is not valid. The set of rules must sound and complete, making sure that the rules listed are not redundant.


What is a unique item identifier?

a unique item identifier means what?


Can you pass addresses to a function in C plus plus?

If the identifier you want to pass is an ordinary identifier, pass it as the address of... function(&identifier); If the identifier you want to pass is an array identifier, pass its name... function(arrayname);


Is keyward is identifier?

Isn't keyward isn't identifier.


Is variable is also called as identifier?

No, the name of the variable is its identifier.


What is identifier in compiler design programs?

identifier is a letter , digit.