answersLogoWhite

0


Best Answer

Unless a language has strict rules regarding naming conventions, how we name our variables is really a matter of personal style. In C and C++ we generally prefer all lowercase with underscores separating each word as this helps readability and retains consistency with standard library conventions. Using a leading capital typically denotes something of importance, but is usually applied to a user-defined type rather than to a variable. Uppercase names are generally avoided because macros are conventionally named using all uppercase so they stand out. Other languages have other conventions, but a leading capital typically has no real meaning unless it is dictated by some language rule.

User Avatar

Wiki User

8y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why are some variables capitalized?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering
Related questions

Why you write a string with S capital?

A String in Java is an object, just like an Integer, which means creating them calls their class file, which has to be capitalized. Variables like int and float are primitive variables, meaning an object isn't created to hold them, so they aren't capitalized.


Would you capitalize association?

Yes, "Association" should be capitalized when referring to a specific organization or group. However, if used in a general sense, such as "There was an association between the two variables," it does not need to be capitalized.


Should 'some' be capitalized when it's used in a title?

Capitalized it when it is the first and last word of the title


Do you have to use the same variables for all equations when creating a system of equations?

The idea is to work with the same variables, but it is possible that some of the variables are missing in some of the equations.


Should the word them be capitalized?

Unless them is being used as a proper noun of some sort, them is not generally capitalized in a sentence.


What are some science experiments with variables?

A science project that has variables can be an experiment that aquires for variable change.


Why are variables important to science?

Because mathematical formulas can only describe dynamic changes if some elements (variables) vary in relation to other variables.


What is definite variable?

There is no such thing as definite variable in mathematics. Some of the variables in mathematics are independent and dependent variables. More variables are usually found in probability textbooks.


Why are dictionary words not capitalized?

Some words need to be capitalized; others do not. For every word to be capitalized in a dictionary would be confusing because one would not know which words they would need to capitalize in everyday usage.


What variables can affect taste of a soft drink?

Some variables are if it is new or old, hot or cold, diet or normal


What is the differences between dependent variables and controlled variables in an experiment?

Controlled variables are things that may effect the outcome of an experiment, like temperature are pressure or the amount of some substance used. Dependent variables are those which change due to the conditions mentioned above. These might be speed of the reaction, or the quantity of some product.


How do you say she's my love in French?

elle est mon amour ~she's my love Elle est mon amour ~She's my love Elle est mon amour. ~She's my love. elle est mon amour. she's my love. I know all of these different results don't look so different but the difference between them is that some are capitalized with periods, some or capitalized with no periods, some aren't capitalized with periods, and some aren't capitalized with no periods. And good luck with your love!