/* TipsMake.com */ dodai = strlen ( chuoi1 ); printf ( "Ban su dung ham strlen(chuoi1) de tinh do dai: %dn" , dodai ); printf ( "n===========================n" ); printf ( "QTM chuc cac ban hoc tot! n" ); return 0 ; }
Compiling and running the above C program will result:
You can find a complete list of functions related to strings in the Standard C Library.
According to Tutorialspoint
Previous article: Cursor in C
Next lesson: Structure (Struct) in C