C Programming Language Part 13 in Hindi | Strings in C Programming | String Functions | PremnArya | PN Arya | Prem Sir
About this video:
This video explains about Programming in C Language in Hindi. Each topic explained with a programming example in Hindi.
The following Concepts Covered in this video:
1. What is a string
2. Pointer and String
3. String Functions
4. strlen( )
5. strcpy( )
6. strcat( )
7. strcmp( )
What is String:-
A string constant is a one-dimensional array of characters terminated by a null (‘\0’).
For example,
Char name[] = {‘P’,‘R’,‘E’,‘M’,‘N’,‘A’,‘R’,‘Y’,‘A’,‘\0’ }
Each character in the array occupies one byte of memory and the last character is always ‘\0’.
String initialization: char name[ ]= “PREMNARYA”;
Thank You.
►Follow us our social link for regular updates:
Facebook Page: https://www.facebook.com/premnarya10
Twitter: https://twitter.com/premnarya10
Instagram: https://www.instagram.com/premnarya10/
Comments