DATA TYPE
1. the difference between 'char' and 'int' is that the compiler will reserve int-size memorry locations for the variable.
2.'char' is the smallest size of the data type.
3.number systems:Octal values are preceded by '0',Hex values are preceded by '0x'
4.escape sequences, use backslash character \ followed by a letter.
\n :newline(ie.,linefeed - carriage return)
\t :tab
\b :backspace
\r :carriage return
\\ :backslash
\' :single quote.
numerical escape sequences,example belll='\007'
STORAGE CLASSES
1.automatic variables,'auto' scope in limited to the block in variables declared inside functions are always automatic unless otherwise specified.
automatic variables are local to the block in which they are delare,even when that block is nested within another block.
爱着你,就要让全世界都知道你的好!——致中国大学MOOC
-
2015年我大学毕业十年,同学们重回校园聚会,感慨万千,还是怀念学生时代。又讲起当年的四大名捕课程,挂科的, […]
7 years ago
No comments:
Post a Comment