Learn C
Coading is not typing it is imagination......
Sunday, May 24, 2015
string(1)
#include <stdio.h>
///character string & array:
int main()
{
char ch[10];
ch[0]='K';
ch[1]='o';
ch[2]='u';
ch[3]='s';
ch[4]='h';
ch[5]='i';
ch[6]='k';
ch[7]='\0';///string terminating character:
ch[8]='t';
ch[9]='m';
printf("%s",ch);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment