Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
C C++ School Programming

Different methods to reverse a string in C/C++

Given a string, write a C/C++ program to reverse it. Write own reverse function by swapping characters: One simple solution is two write our own reverse function ...
C C++ C

What happens when more restrictive access is given to a derived class method in C++?

We have discussed a similar topic in Java here. Unlike Java, C++ allows to give more restrictive access to derived class methods. For example the following program c...
C C++ C

Hiding of all overloaded methods with same name in base class

In C++, if a derived class redefines base class member method then all the base class methods with same name become hidden in derived class. For example, the followi...
C# CSharp-Basics

Main Method in C#

C# applications have an entry point called Main Method. It is the first method which gets invoked whenever an application started and it is present in every C# execut...
C# CSharp-Basics CSharp-method

C# Methods

Methods are generally the block of codes or statements in a program that gives the user the ability to reuse the same code which ultimately saves the excessive use of...
C# CSharp-method

C# Method returning an object

In C#, a method can return any type of data including objects. In other words, methods are allowed to return objects without any compile time error. Example 1: ...
C# CSharp-method

C# Method Overloading

Method Overloading is the common way of implementing polymorphism. It is the ability to redefine a function in more than one form. A user can implement function overl...
C# CSharp-OOP

Anonymous Method in C#

An anonymous method is a method which doesn’t contain any name which is introduced in C# 2.0. It is useful when the user wants to create an inline method and a...
C# CSharp-OOP

Partial Methods in C#

C# contains a special method is known as a partial method, which contains declaration part in one partial class and definition part in another partial class or may co...
C# CSharp-Inheritance CSharp-method

C# Method Overriding

Method Overriding in C# is similar to the virtual function in C++. Method Overriding is a technique that allows the invoking of functions from another class (base cla...

Subscribe to Our Newsletter