40 Views

what are strings in c language


srikarkandukuri467 7th Oct, 2021
Answers (2)

Hello,

I hope you are doing good,

Strings are actually a single set of characters that are broken by the blank letter '\ 0'. A null-cut string therefore contains characters that include a string followed by null.

The next announcement and launch creates a thread containing the word "Hello". To hold a blank letter at the end of the same members, the size of the letters containing the string exceeds the number of letters that say "Hello."

THANK YOU!!

Nitin Mereddy 7th Oct, 2021

The string can be defined as the one-dimensional array of characters terminated by a null ('\0'). The character array or the string is used to manipulate text such as word or sentences. Each character in the array occupies one byte of memory, and the last character must always be 0. The termination character ('\0') is important in a string since it is the only way to identify where the string ends. When we define a string as char s[10], the character s[10] is implicitly initialized with the null in the memory.

Related Questions

MAHE Manipal M.Tech 2025
Apply
NAAC A++ Accredited | Accorded institution of Eminence by Govt. of India | NIRF Rank #4
Graphic Era (Deemed to be Uni...
Apply
NAAC A+ Grade | Among top 100 universities of India (NIRF 2024) | 40 crore+ scholarships distributed
Indrashil University | B.Tech...
Apply
Apply for B.Tech | AICTE Aproved | UGC Recognized | International Collaborations for Global Edge | 100% Placement Assistance
Manav Rachna-MBA Admissions 2025
Apply
41000+ Alumni network | Students from over 20 countries
Manav Rachna-B.Tech Admission...
Apply
NAAC A++ Grade | NBA Accredited B.Tech programs | 41000+ Alumni network | Students from over 20 countries
JSS University Noida MBA 2025
Apply
170+ Recruiters Including Samsung, Zomato, LG, Adobe and many more | Highest CTC 47 LPA
View All Application Forms

Download the Careers360 App on your Android phone

Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile

150M+ Students
30,000+ Colleges
500+ Exams
1500+ E-books