액면가 표시

697 단어
#include <iostream>

int main ()
{
short c;
int a, b; //a,b   ,
long d;

a = 1;
b = 2;

std::cout << a + b << std::endl;
std::cout << 3 + 7 << std::endl;//    3 7       ,              ,

                               //          int   long,

std::cout << 40 << std::endl;  //      ,     ,
std::cout << 012 << std::endl; //012   0 8     ,
std::cout << 0x32 << std::endl;  // 0x32  0x        ,
std::cout << 45L << std::endl; // L long  ,
std::cout << 12LL << std::endl;  // LL long long   ,
std::cout << 21uL << std::endl;  // uL unsigned long   ,

return 0;
}

좋은 웹페이지 즐겨찾기