ASCII table generator source code

This snippet submitted by Abdul Haseeb Mir on 2012-05-23. It has been viewed 6985 times.
Rating of 8.0 with 55 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

Add a snippet!