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

8

Strings and Standard Functions

Chapter Outline
8.1 INTRODUCTION

Characters are the basic requirement of any program. A program contains statements and statements are built with words that has specific meaning to be understood by the compiler. In C language, a sequence of characters, digits and symbols enclosed within double quotation marks is called a string. The string is always declared as character array and its elements are stored in contiguous memory locations.

In other words, in C, a string is defined as an array of ...

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