Converting numeric values back to characters

Tuesday, October 14, 2014
/* Converting numeric values back to characters 0402 */

#include <stdio.h>
main()
{
    char c1;
    char c2;

    c1 = 65;
    c2 = 97;

    printf("The character that has the numeric value of 65 is: %c.\n", c1);
    printf("The character that has the numeric value of 97 is: %c.\n", c2);

    return 0;
}

Copyright @ 2015 Tron!

Labels

Blog Archive