C Code 27 _ To Print all the ASCII Values along with there corresponding characters from 0 to 127


C Code 27 _ To Print all the ASCII Values along with there corresponding characters from 0 to 127


Program:



#include<stdio.h>
int main()
{
                int i;
                printf("\nThe ASCII Values and there respective characters are as follows (0 to 127)\n\n");
                for(i=0;i<128;i++)
                {
                                printf("\nThe character corresponding to ASCII value %d  is  %c ",i,i);
                }
                return 0;
}




Output:











Thank You ...

Popular Posts