Computer Science, asked by manjur80, 1 year ago

Aparajita wants to make a function that is not bound to any identifier. Which of the foflowing functions should she incorporate in her program?​

Answers

Answered by Raghav1330
4

Answer:

She can use any of the provided rules to name her function

Explanation:

An identifier is a set of number and alphabets that can begin with an alphabet or an underscore and specifically that are readily used to show several programming tools like variables, functions, arrays, structures, unions etc.

Now for Aparajita she has to make sure that her function or variable name doesn't starts with any number or has doesn't has any special characters in it. The also can't have any spaces in between them. They also can't start with capital letters.

For example any identifier starting with numeric value or having won't do. For example floor1,count1 these are valid but converse like 1floor or 1 floor won't be valid.

Something containing special characters like at the rate (@) or dollar symbol ($) would pop out a error message.

To associate two words in naming a function she can use underscore or start the second word with capital letters.

For example getData or get_data is valid.

Similar questions