0

I was getting error message from c compiler ,when i tried to initialize "z" to char variable and tried to print using printf function,whats wrong with my code?

    char a="<";
    printf("%c",a);

error:
    warning: initialization of 'char' from 'char *' makes integer from pointer without a cast
Sids
  • 1

0 Answers0