ASCII table generator source code

This snippet submitted by Abdul Haseeb Mir on 2012-05-23. It has been viewed 38737 times.
Rating of 6.7 with 603 votes

/* Generate ASCII Values all numbers */

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int i=0;

    while(i<255) 
    {
        printf("\n \a %d = %c ",i,i);
        i=i+1; 
    }
    getchar();
    return 0;
}




More C and C++ source code snippets