C_chap03

’a’ is a character constant while ”a” is a string constant. In C, all variables must be declared before they can be used. In C, the correct way to write a test for both 3 j and j 5 is 3 j j 5. Notice the differences between i++ and ++i. Summary Write on your text book P23 [A],[C] P25 [G] Write on your exercise-book P23 [B] P24 [E],[F] Assignment Thank you!!! See you next time! 3.3 Constants The rules of constructing real constants expressed in exponential form: The mantissa part and the exponential part should be separated by a letter e or E The mantissa part may have a positive or

文档评论(0)

1亿VIP精品文档

相关文档