30 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

UPES Integrated LLB Admission...
Apply
Ranked #28 amongst Institutions in India by NIRF | Ranked #1 in India for Academic Reputation by QS University Rankings | 16.6 LPA Highest CTC
Jindal Global Law School Admi...
Apply
Ranked #1 Law School in India & South Asia by QS- World University Rankings | Merit cum means scholarships
Symbiosis Law School Pune Adm...
Apply
NAAC A++ Accredited | Ranked #5 by NIRF
Nirma University Law Admissio...
Apply
Grade 'A+' accredited by NAAC
Great Lakes PGPM & PGDM 2025
Apply
Admissions Open | Globally Recognized by AACSB (US) & AMBA (UK) | 17.3 LPA Avg. CTC for PGPM 2024 | Application Deadline: 1st Dec 2024
ICFAI Business School-IBSAT 2024
Apply
9 IBS Campuses | Scholarships Worth Rs 10 CR
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