Hi,
I made this program that is supposed to print a char variable, but it's not working. It wont print the variable str, instead it sais:This is my code:[Warning] initialization makes integer from pointer without a cast
Code:#include <stdio.h> main() { char str="Hello World"; printf("%c", str); system("pause"); return 0; }
Tnx in advance,
Jst.