Computer Science, asked by ms6937464, 1 month ago

Write the rules for naming a string variable.

Answers

Answered by gugloopriya
0

Answer:

1 A variable name must be of the form $name or ${name}. 2 The string name can consist of letters (a-z and A-Z), numbers (0-9), and underscore characters (_). 3 The first character of name must be an alphabetic character (a-z or A-Z). 4 If the ${name} form is used, spaces can also appear in name.

Explanation:

Answered by ITZMEGOVARDHANREDDY
0

Answer:

variable name must be of the form $name or ${name}. 2 The string name can consist of letters (a-z and A-Z), numbers (0-9), and underscore characters (_). 3 The first character of name must be an alphabetic character (a-z or A-Z). 4 If the ${name} form is used, spaces can also appear in name.07-Nov-2019

Similar questions