< Prev
Next >



C - String






What is String?


String is a nothing but a sequence of characters which is created using a char array in C language. As a string is constructed using a char array, hence the characters making up a string are stored in contagious memory locations(just like elements of any type of array).





How a String is created in C?


A String is nothing but a char array and it can be constructed in various ways and some are explained below -:


Please subscribe our social media channels for notifications, we post a new article everyday.

Decodejava Google+ Page Decodejava Facebook Page  DecodeJava Twitter Page

Coming Next
-
Python

Ad2