//C Program to display alphabets using ASCII values
#include <stdio.h>

int main() 
{
    int i;
    printf("Alphabets from(A-Z) are:\n");

    //ASCII value of A=65 and Z=90
    for(i=65;i<=90;i++){
        //Integer i with %c will be converted to character
        //before printing %c will takes it equivalent
        //character value
        printf("%c ",i);
    }

    printf("\nAlphabets from (a-z) are:\n");

    //ASCII values of a=97 and z=122
    for(i=97;i<=122;i++){
        //Integer i with %c will be converted to character
        //before printing.%c will takes its equivalent
        //character value
        printf("%c ",i);
  }
    
    return 0;
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: