Thursday, April 7, 2016

C++ PROGRAMMING TIPS 1

 PROGRAMMING TIPS  1

Variables with the same data type can be grouped together and declared in one statement             Format:  dataType variableList;    
  For example,                      
  int A1, A2, A3;


A good programming practice is to declare each initialized variable on a line by itself.
 C++ also allows us to create same named variables, functions belonging to different data types.

No comments:

Post a Comment