C/C++

BEST Programming Languages – A Brief Introduction

At the first developed computers, electronics was the need to program them, that is, to store in memory the information about the task they were to perform. The former are used as simple calculators; are indicated in the footsteps of calculation , one by one. John Von Neumann developed the model that bears his name, to describe this concept of ” program stored “. In this model, there is an abstraction of the memory as a …

BEST Programming Languages – A Brief Introduction Read More »

GeeksProgramming

Some C++ programming Questions and Solutions

Q1: WAP to demonstrate how ambiguity is avoided in single inheritance using scope resolution operator. Ans: #include<iostream.h> Class A { public: void display() { cout<<”An”; } }; class B:public A { void display() { cout<<”Bn”; } }; int main() { B b;                      //derived class object b.display();         // invokes display() in B b.A::display();    // invokes display() …

Some C++ programming Questions and Solutions Read More »

Scroll to Top