Skip to content

Shallyyadav/Overflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

#include using namespace std;

int main() { char a=128; cout<<(int)a<<endl;

char b=127;
b++;
cout<<(int)b<<endl;
    
char c=129;
cout<<(int)c<<endl;
    
char d=-128;
d--;
cout<<(int)d<<endl;
    
int e=32767; // maximum integer value.
e++;
cout<<(int)e<<endl;
    
return 0;

}

About

This is a program of overflow in c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published