码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2016-02-13 01:41:19      阅读:304      评论:0      收藏:0      [点我收藏+]

标签:c语言   注释不可以嵌套使用的举例   注释的使用   

#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语言】注释不可以嵌套使用的举例

标签:c语言   注释不可以嵌套使用的举例   注释的使用   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!