< Prev
Next >

C-Style String in C++

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

Please subscribe to our social media channels for daily updates.

Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page



Please check our latest addition