Example & Tutorial understanding programming in easy ways.

What is the string in C language?

-String is the char array.

- There is always be a NULL at the end of the string to show the ending of the string.


program:

main()

{

char str[]="Mystring";

printf("%s",str);

printf("%c",str[0]);

}


output:

Mystring

M

Read More →
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!