reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia

Rules for variables - C++ [1/1]

Type:
Rules for variables - C++
Level: Beginner reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia 
Rules for variables - C++
Date: 2006-Dec-04
Rules for variables - C++
Visited: 2230 times
Rules for variables - C++
Rating: Rules for variables - C++
Rules for variables - C++
Author: Alex Plumpton
Rules for constructing variable names:

1.A variable name is any combination of 1 to 8 alphabets, digits or underscores.Some compilers allow variable names whose length can be upto 40 characters.
2.The first character in the variable name, must be a alphabet.
3.No commas or spaces are allowed, within a variable name.
4.No special symbols other than an underscore, can be used in a variable name. 5.Uppercase and lowercase are significant. That is the variable Total, is not thesame as total or TOTAL.
6.The variable name should not be a keyword.
7.White space is not allowed


A Variable is a named location in memory that is used to hold a value that may be modified by the program. All variables must be declared before they can be used. Variables will be declared in three places:inside functions, in the definition of function parameters and outside of all functions. These are local variables, formal parameters and global variables.

Rate this tutorial:                    
reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia - Rules for variables - C++ [1/1] - reference, tutorial, tutorials, help, example, photoshop, html, php, mysql, 3d software, internet, graphics, programming, multimedia

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: iptables rules RDP  variables in c++  prefix variables c++  making 3D anything  instant messangers  how to burn iso with nero  Online Home Network Diagnostics  C++ encapsulation  yahoo messangers  php.info file  pop proxy settings outlook  tracert tutorial  trillian port number  how to build an info.php file  xp network diagnostic  do while in c++  for loop in c++  SMTP Commands test  fill arrays in php  email troubleshooting