Akansha Kumari has Published 35 Articles

Getting Started with C++ in Visual Studio

Akansha Kumari

Akansha Kumari

Updated on 22-May-2025 19:47:44

3K+ Views

In this article, you will learn the setup to build and compile the C++ code in Visual Studio. Here you will become familiar with many of the tools and dialog boxes that you can use when you develop applications in C++. In this, we'll create a "Hello, World" style console ... Read More

What does an auto keyword do in C++?

Akansha Kumari

Akansha Kumari

Updated on 15-May-2025 17:09:35

7K+ Views

The auto keyword in C++ is used to automatically determine the type of variables from their initializer. This means you don’t need to explicitly tell the compiler the variable's data type. It lets the compiler determine the variable's type during compile time.C++ auto KeywordAuto was a keyword that C++ "inherited" ... Read More

The extern storage class in C++

Akansha Kumari

Akansha Kumari

Updated on 15-May-2025 16:22:14

3K+ Views

The extern storage class specifier lets you declare objects that several source files can use.What is Extern Storage Class in C++?The extern storage class in C++ is used to declare an object (global variable or function) that can be accessed by multiple source files. When a variable is declared with ... Read More

What is arrow operator in C++?

Akansha Kumari

Akansha Kumari

Updated on 15-May-2025 16:19:06

3K+ Views

The array operator provides the direct access to array elements using their index. What is Array Operator in C++? The arrow operator in C++ is also known as the member access operator, which is used to access a member of a class, structure, or union with the help of a ... Read More

The mutable storage class in C++

Akansha Kumari

Akansha Kumari

Updated on 12-May-2025 19:38:58

2K+ Views

The mutable storage class in C++ is a property that gives you access to modify the non-static data members (not static data members) of a class, even when the object is declared as constant. This is mainly useful for scenarios where the data needs modification without affecting the logical state of ... Read More

C++ Standard Library Header Files

Akansha Kumari

Akansha Kumari

Updated on 12-May-2025 19:38:45

1K+ Views

Standard Library header files are the predefined files in C++, which are part of the built-in library. It consists of declarations for functions, classes, objects, and macros. These header files give you access to perform various operations like input/output, string manipulation, containers, algorithms, math operations, and many more. Here is ... Read More

How to compile and run the C++ program?

Akansha Kumari

Akansha Kumari

Updated on 12-May-2025 19:38:32

170K+ Views

The C++ programming language is a set of instructions that tells the compiler how to perform specific tasks. These instructions consist of functions and statements, which, when compiled and executed, tell the computer what action to perform.  Prerequisite To compile and execute the program following prerequisites need to be met. ... Read More

Rules for operator overloading in C++

Akansha Kumari

Akansha Kumari

Updated on 12-May-2025 19:38:14

15K+ Views

Operator overloading in C++ is the feature that allows you to define how operators will behave for user-defined data types like classes and structures. Operator overloading and function overloading both support compile-time polymorphism. In the following article, we will learn the rules that need to be followed for operator overloading. ... Read More

What is dot operator in C++?

Akansha Kumari

Akansha Kumari

Updated on 08-May-2025 18:43:22

1K+ Views

The dot operator (.) in C++ is a member access operator, which is used to access the members (variables and functions) of a class, structure, and union through an object. It allows you to access and manipulate the properties of an object's data members and member functions. The dot (.) operator ... Read More

What is the difference between the dot (.) operator and -> in C++?

Akansha Kumari

Akansha Kumari

Updated on 07-May-2025 19:14:19

2K+ Views

In C++, both dot (.) and arrow (->) operators are used to access members of classes, structures, and unions. But they are used in different scenarios based on how the object is being accessed. In this article, we will learn the differences and uses of these two operators in C++. ... Read More

Advertisements