![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
燚燚_yiyi
喜欢算法设计,课余喜欢健身
展开
-
运算符和操作符
运算符计算运算符运算符符号加法+递减--除法/递增++取模%乘法*减法-一元取相反数--逻辑运算符运算符符号逗号,条件(三元)?:相等==大于>原创 2010-05-12 20:00:00 · 315 阅读 · 0 评论 -
计算运算符
运算符计算运算符运算符符号加法+递减--除法/递增++取模%乘法*减法-一元取相反数--逻辑运算符运算符符号逗号,条件(三元)?:相等==大于>原创 2010-05-26 22:40:00 · 294 阅读 · 0 评论 -
C语言中字节对齐问题( Byte Order Problem)
Byte Order ProblemAshort intconsists of 2 bytes. Consider the number 0X1234. The 2 bytes have the values 0X12 and 0X34. Which value is stored in the...原创 2019-04-18 07:44:47 · 245 阅读 · 0 评论 -
C: extern 关键字总结
C extern keyword一、declaration and definition Thedeclarationofa variable/ functionsimply declares thatthe variable/ functionexists somewherein...原创 2019-04-18 08:03:36 · 409 阅读 · 0 评论 -
Pointers to Pointers
Since we can have pointers to int, and pointers to char, and pointers to any structures we've defined, and in fact pointers to any type in C, it shouldn't come as too much of a surprise that we can ha...翻译 2019-06-26 16:06:42 · 443 阅读 · 0 评论 -
Pointer Allocation Strategies
Pointers are viewed by many as the bane of C programming, because out-of-control pointers can do a lot of damage, and can be hard to track down. But real programs tend to make heavy use of pointers. H...翻译 2019-06-26 16:08:58 · 306 阅读 · 0 评论 -
Returning Arrays
Arrays are ``second-class citizens'' in C. Related to the fact that arrays can't be assigned is the fact that they can't be returned by functions, either; that is, there is no such type as ``function ...翻译 2019-06-26 16:11:46 · 303 阅读 · 0 评论