fork download
  1. #include<stdio.h>
  2. #include<stdlib.h>
  3. int main(void)
  4. {
  5. char *ily[11] = { "01001001", "00100000", "01001100",
  6. "01101111", "01110110", "01100101",
  7. "00100000", "01011001", "01101111",
  8. "01110101", "00100001" };
  9.  
  10. for (int i = 0; i < 11; i++)
  11. {
  12. char c = strtol(ily[i], (char **)NULL, 2);
  13. printf("%c", c);
  14. }
  15. printf("\n");
  16. }
Success #stdin #stdout 0s 5284KB
stdin
#include<stdio.h>
#include<stdlib.h>
int main(void)
{
    char *ily[11] = { "01001001", "00100000", "01001100",
        "01101111", "01110110", "01100101",
        "00100000", "01011001", "01101111",
        "01110101", "00100001" };

    for (int i = 0; i < 11; i++)
    {
        char c = strtol(ily[i], (char **)NULL, 2);
        printf("%c", c);
    }
    printf("\n");
}
stdout
I Love You!