BeginnersBook

  • Home
  • Java
    • Java OOPs
    • Java Collections
    • Java Examples
  • C
    • C Examples
  • C++
    • C++ Examples
  • DBMS
  • Computer Network
  • Python
    • Python Examples
  • More…
    • jQuery
    • Kotlin
    • WordPress
    • SEO
    • JSON
    • JSP
    • JSTL
    • Servlet
    • MongoDB
    • XML
    • Perl

C++ ‘this’ Pointer

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

The this pointer holds the address of current object, in simple words you can say that this pointer points to the current object of the… [Read More]

Destructors in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

A destructor is a special member function that works just opposite to constructor, unlike constructors that are used for initializing an object, destructors destroy (or… [Read More]

Constructors in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

Constructor is a special member function of a class that initializes the object of the class. Constructor name is same as class name and it… [Read More]

OOPs Concepts in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

Object oriented programming is a way of solving complex problems by breaking them into smaller problems using objects. Before Object Oriented Programming (commonly referred as… [Read More]

Strings in C++

Last Updated: December 1, 2024 by Chaitanya Singh | Filed Under: Learn C++

Strings are words that are made up of characters, hence they are known as sequence of characters. In C++ we have two ways to create… [Read More]

Pointers in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

Pointer is a variable in C++ that holds the address of another variable. They have data type just like variables, for example an integer type… [Read More]

Passing Array to Function in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

You can pass array as an argument to a function just like you pass variables as arguments. In order to pass array to the function… [Read More]

Multidimensional Arrays in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

Multidimensional arrays are also known as array of arrays. The data in multidimensional array is stored in a tabular form as shown in the diagram… [Read More]

Default Arguments in C++ Functions

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

The default arguments are used when you provide no arguments or only few arguments while calling a function. The default arguments are used during compilation… [Read More]

Arrays in C++

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

An array is a collection of similar items stored in contiguous memory locations. In programming, sometimes a simple variable is not enough to hold all… [Read More]

C++ Recursion with example

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

The process in which a function calls itself is known as recursion and the corresponding function is called the recursive function. The popular example to… [Read More]

goto statement in C++ with example

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

The goto statement is used for transferring the control of a program to a given label. The syntax of goto statement looks like this: goto… [Read More]

Functions in C++ with example

Last Updated: May 22, 2020 by Chaitanya Singh | Filed Under: Learn C++

A function is block of code which is used to perform a particular task, for example let’s say you are writing a large C++ program… [Read More]

Break statement in C++ with example

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

The break statement is used in following two scenarios: a) Use break statement to come out of the loop instantly. Whenever a break statement is… [Read More]

Continue Statement in C++ with example

Last Updated: September 11, 2017 by Chaitanya Singh | Filed Under: Learn C++

Continue statement is used inside loops. Whenever a continue statement is encountered inside a loop, control directly jumps to the beginning of the loop for… [Read More]

  • « Previous Page
  • 1
  • 2
  • 3
  • Next Page »

Copyright © 2012 – 2025 BeginnersBook . Privacy Policy . Sitemap