O'Reilly logo

Programming in C++, 2nd Edition by Ashok Kamthane

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

 

Chapter 18

Working with Strings

Chapter Outline
18.1  INTRODUCTION

A string is nothing but a sequence of characters. Strings can contain small and capital letters, numbers, and symbols. A string is to be treated as an array of characters with terminating \0. Each element of a string occupies a byte in the memory. Every string is terminated by a null character. The last character of such a string is a null (‘\0’) character, and the compiler ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required