dev/cpp/const_ul/cont_ul.cpp

20 lines
294 B
C++

#include <iostream>
#include <stdio.h>
using namespace std;
void test0()
{
static const unsigned long a = 4026531840;
unsigned long b = 4026531840;
static const unsigned long c = 4026531840UL;
printf("a=%u b=%u c=%u\n", a, b, c);
}
int main()
{
test0();
return 0;
}