Abstract class in C++ language In this tutorial, we will discuss the Oop concept of Abstract class in C++ language An abstract class in C++ language, which is a class contain pure one or more(at least one) virtual function in a base class . A pure virtual function is a virtual member function, that noticeable…
Category: Learn C++
Nested Structure|Structure within Stucture in C++
Nested structure |Structure within Structure in C++ In this tutorial, we will discuss the Nested Structure|Structure within Structure in C++ language A structure is a complex data type in C++. Structure can contain basic data types of C++. int, float, char, double, etc.. Nested structure is when a structure is contained inside another one. Syntex…
C language Hello world Program
C language Hello world Program In this article, we will discuss the concept of C language in Hello world program. C Hello World Program Explanation Here, this is C Language “Hello world” program, Generally Hello world program is the first program for C language beginners. We can write this program using very simple coding and…
Nested structure in C programming language
Nested structure in C programming language In this tutorial, we will discuss the concept of Nested structure in C programming language. Nested structure is allowed in C programming language. Nested structure means structure within the another structure. It means we can declare one structure inside another structure. We can create nesting structure in two way:…
Passing Structure to function in C language
Passing Structure to function in C language In this article, we will discuss the concept of “passing structure” to function in C language. A structure can be passed to any function from main or sub functions as an argument. There are two way to pass stucture as function argument passing to a function by value…
C++ program to Structure with pointer
C++ program to Structure with pointer In this article, we will discuss tha concept of structure with pointer in C++ program. We can use pointer with structure in C++ language.Pointers are an easy way to manipulate structure member by reference. To create a structure pointer, place an asterisk (*) infront of the structure pointer’s…
Structure with pointer in C language
Structure with pointer in C language In this tutorial, we will discuss the concept of Structure with pointer in C language. In C language, Structure can be created and accessed using pointers. Structure can be accessed in 2 ways in the C Program Usually, Dot(.) operator is used to access the data member’s…
The Operator in C++ Programming language
The operator in C++ Programming language In this tutorial, we will discuss the Operator in C++ Programming language. C++ operators Many types of operators are available in java that is used to perform various operations. Type of C++ operators given below Arithmetic Operator Unary Operator Assignment Operator Relational Operator Bitwise Operator Logical Operator Ternary Operator…
Nested function in C programming Language
Nested function in C programming Language In this tutorial, we will discuss about the Nested function in C programming Language A nested function in C programming language is a function defined inside another function. Syntax Syntax of nested function given below return_type function_one() { //statement function_name2(); } return_type function_name2(){ //statement function_name3(); } return_type function_name3(){ //statement…
Operators in C programming Language
Operators in C programming language In this tutorial, we will discuss the Operators in C programming language. C programming language consists of various operators to perform many operations. Arithmetic Operators An arithmetic operator in C language is used to performs mathematical calculations such as adition, subtraction multiplication division, etc… Program 1 When the above code…