hello everyone....
sorry, i have a question ?
is it possible to declare a variable in types of string ? if it is then , how??
thank you!
Printable View
hello everyone....
sorry, i have a question ?
is it possible to declare a variable in types of string ? if it is then , how??
thank you!
char something[] = "hello!"
or
char *s = "hui";
Try this:Maybe you will learn something.Code:char string[4];
strcpy(string, "This is King Arthur");