User Tools

Site Tools


ch03-places-to-put-things

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
ch03-places-to-put-things [2017/08/24 02:02]
mithat [Variable initialization]
ch03-places-to-put-things [2017/08/24 02:02]
mithat [Multiple declarations]
Line 380: Line 380:
 char firstInitial,​ secondInitial;​ char firstInitial,​ secondInitial;​
 </​code>​ </​code>​
-declare two variables---''​%%firstInitial%%''​ and ''​%%secondInitial%%''​---which are both character types. Notice the comma between the two variable names.+declare two variables''​%%firstInitial%%''​ and ''​%%secondInitial%%''​which are both character types. Notice the comma between the two variable names.
  
 You can even combine variable initialization and multiple declaration in the same statement: You can even combine variable initialization and multiple declaration in the same statement:
ch03-places-to-put-things.txt · Last modified: 2017/08/24 02:03 by mithat