29 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

Amity University,Noida BBA Ad...
Apply
Ranked amongst top 3% universities globally (QS Rankings)
Sanskriti University BBA Admi...
Apply
BBA Admissions 2024 | 200+ Companies | Highest CTC 54 LPA | Scholarship Available
UPES | BBA Admissions 2024
Apply
#39 in NIRF, NAAC ‘A’ Grade | 100% Placement, up to 30% meritorious scholarships | Last Date to Apply: 31st May
PIET BBA Admissions 2024
Apply
5000+ Placements Offers | 120+ Recruiters | Average CTC 4LPA
Amity University, Noida B.Tec...
Apply
Asia's Only University with the Highest US & UK Accreditation
IIMT University Meerut BBA Ad...
Apply
"Top 20 Institute of India in Placements" by Times of India | Accredited by NAAC
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