#include<iostream> using namespace std; int main() { cout<<sizeof(int)<<endl; unsigned int x = 4294967295; cout<<x; }
Output:
warning: this decimal constant is unsigned only in ISO C90
unsigned int x = 4294967295;
4294967295
Aucun commentaire:
Enregistrer un commentaire