首页 > 编程语言 > 详细

【C语言】注释不可以嵌套使用的举例

时间:2016-02-13 01:39:10      阅读:650      评论:0      收藏:0      [点我收藏+]
#include<stdio.h>
#include<stdlib.h>


void squares(int limit)
{
    /*Commment out this entire function
    int i;    /*loop counter*/
    /*
    ** Print table of squares
    */
    for (int i = 0; i < limit; i += 1)
    {
        printf("%d%d", i, i*i);
    }
        End of commment out code*/
    
}


int main()
{
    squares(2);
    system("pause");
    return 0;
}


本文出自 “C语言100-200素数” 博客,请务必保留此出处http://10740184.blog.51cto.com/10730184/1741672

【C语言】注释不可以嵌套使用的举例

原文:http://10740184.blog.51cto.com/10730184/1741672

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!