2018-02-03

c++ 复习
declaration definition

When a variable is defined,it is also declared. The other way is not true.

Syntax: Defining Several Variables of the Same Type at Once
<data-type> <identifier1>, <identifier2>, · · · ;
Examples
int radius, num of words;
char choice, gender, pass or fail;
When a variable is defined, the compiler allocates memory for
it.
The amount of memory is equal to the size of its data type.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • **2014真题Directions:Read the following text. Choose the be...
    又是夜半惊坐起阅读 9,984评论 0 23
  • 生活上、工作中你是一个会吵架的人吗? 面对别人的指责,只能委屈地默默承受;还是一旦开启争吵模式,就立马变得六亲不认...
    勇敢的心207阅读 724评论 0 0
  • 无频率轴,只要把点的实部虚部列出来就可以
    WICKII阅读 4,044评论 0 0
  • 其实,我真的好想 文/康吉德 下班后,带着一身疲惫,踏上公交,密密麻麻的人流中。车厢内的密不透风及道路的拥堵,使本...
    康吉德阅读 590评论 1 7
  • 好久没写东西了,大家将就着看哈。嘻嘻~ 一 第一天从江苏靖江出发,沿着京沪高速往杭州开去,一路上看着对面的车都堵着...
    清风腾逸阅读 698评论 0 51