Im so super noobie at programming -
What im trying to do in the simple bit of code is define a vairable at the top, in this case, I want the variable text to be "Hello". I then want to print this variable below.Code:#include "stdafx.h" int _tmain(int argc, _TCHAR* argv[]) { const char text = Hello World; char text[15]; printf("%c", text); return 0; }
What am i doing wrong?