Quote Originally Posted by arshad115 View Post
Code:
char s[]={"this is a simple string"};
	char t[]={"is"};
is used to to initialize the array by the string given,the comipler counts the number automatically
Then why do you use {}?
Code:
char s[] = "this is a simple string";
char t[] = "is";