CodesJava

Easy learning with example program codes

CPP Variable


A variable is a temporary memory location that holds its data temporarily. CPP requires the data type of the variable to be well defined at the time of variable declaration, depending on its value.

Syntax:

data_type variable_list;

Rules for using CPP Variables:

  • CPP Variable name starts with a letter or underscore only; numbers and special characters are restricted for this.
  • CPP Variables name can contain alphanumeric characters and underscores only.
  • CPP Variables name can not contain any white space within it.
  • CPP Variables name should not be same as any reserved word or keyword already defined in CPP library.
Posted in CPP   
Sign Up/ Sign In
Ask a Question


Industrial Training

We offers Placement Oriented Training on Java, Spring, JSF, Hibernate, PHP, AngularJS, Angular 4, PLSQL, Oracle BI Publisher etc. We also provides Online training, please mail us at hr@codesjava.com.

Development

We also provides the Development services for Website Development , Java Development, PHP Development, Android App Development etc. You can contact us on hr@codesjava.com.

Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki