Posts

Showing posts with the label Printed Character against ASCII code

ASCII table from given range (33 to 256) | Printed Character against ASCII code

# include <iostream> using namespace std; int main(){ int asciil=33; // lower value int asciih=256; // higher value cout<<"Ascii codes -----Character"<<endl; while (asciil<=asciih) { char c=asciil; // here the ascci of c is printed cout<<asciil<<"---------------"<<c<<endl; asciil++; } }