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!
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!"
Last edited by Epy; 11-22-2009 at 12:04 PM. Reason: brainfart
or
char *s = "hui";
It is too clear and so it is hard to see.
A dunce once searched for fire with a lighted lantern.
Had he known what fire was,
He could have cooked his rice much sooner.
Try this:Maybe you will learn something.Code:char string[4]; strcpy(string, "This is King Arthur");