Write a program in C++ to depict the concept of overriding or Dynamic polymorphism. Overriding is a type of polymorphism. Polymorphism in OOP languages means to take more than one form. Virtual Read more →
CPP-Basic
25 postsC++ is a programming language with imperative and object-oriented features. It’s known as a middle-level language and is compiled, general-purpose, statically typed, case sensitive, and has a free-form syntax. C++ supports procedural, Read more →
C++ is as an extension of C, and both languages have almost the same syntax. The main difference between C and C++ is that C++ support Object oriented programming (OOPs) paradigm, while Read more →
The string.h header defines one variable type, one macro, and various functions for manipulating arrays of characters. Functions provided by string.h The string.h header file declares a set of functions to work Read more →
C++ is Object-Oriented Programming (OOP) language. C++ is easy to understand. You can learn C++ by following these steps: Writing your program in a text editor. Then saving it with the appropriate Read more →
C++ is a cross-platform language that can be used to create high-performance applications. C++ gives programmers a high level of control over system resources and memory. C++ was developed by Bjarne Stroustrup, Read more →
Prerequisite – C language C Preprocessor is not a part of the compiler, but is a separate step in the compilation process. Preprocessors are programs that process our source code before compilation. Read more →
The scope of a variable x is the region of the program in which uses of x refers to its declaration. In C, all identifiers are lexically(or statically) scoped. Scoping in C Read more →
In this article, you will learn to find the quotient and remainder when an integer is divided by another integer. Examples : Input: A = 2, B = 7 Output: Quotient = Read more →
C Program for Sum of digits of a given number. Examples : Input : 123 Output : 6 Input : 1995 Output : 24 Algorithm : To get sum of each digits Read more →