C++

C++ 奇葩的空语句

内容概要: C++ 空语句

#include<iostream>;
using namespace std;

int main()
{
    ;;;;;;;;
    ;;;
    ;;
    ;
    return 0;
}

C++中允许存在空语句,

 int i;;;;   

很容易让人以为是非法语句······

本文同时发布于CSDN: https://blog.csdn.net/xiaoyaohuqijun/article/details/48300687

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top