Below are the different Storage Classes available in C++. We shall see all these storage classes in this chapter. Automatic Storage Class External Storage Class Static Storage Class Register Storage Class Mutable Storage Class 1. Automatic Storage Class Keyword: auto Lifetime: Function Block Visibility: Local …
In this chapter we shall learn about below topics: Introduction String object in C++ String relational operators String modification functions String attribute functions Accessing string elements Comparing string functions 1. Introduction String is a sequence of characters. Every string should be terminated by NULL character …
In this chapter we shall study about: Function prototype declaration Function Definition Function call Actual and formal arguments Return statement. Call by value Call by address Call by reference Default arguments Inline functions Function Overloading Recursion Function While developing software applications, a larger program is …
In this chapter we shall learn about following topics: C++ qualifiers C++ Operators 1. C++ qualifiers C++ provides one of two qualifiers. Volatile: When a variable is defined as volatile, then the value can be changed. By default, if you create a variable, it is …
In this chapter we shall learn about below topics: Referencing operator Dereferencing operator Scope resolution operators Memory management operators Namespace Comma operator Arrow operator This pointer 1. Referencing Operator: Referencing operator (&): This operator is used to define a referencing variable. A reference variable is …