A function declared as a member of the class is called a member function. Generally, member functions are declared as public because they have to be called outside of the...
Are you starting on a job hunt as a software developer? Or do you want to stand out among your college mates in campus interviews? No matter which is the...
1. What are the SDLC models present? Ans. Waterfall Model, Spiral Model, Big-bag model, Iterative Model, and V- Model are some of the famous SDLC models. 2. What are the...
A String in C is basically a sequence of characters/symbols which is terminated with a null character \0. E.g., char str = “this is a string” Let us see how...
Thousands of job seekers apply every year to Cisco where their skills are tested and thoroughly. Here we will be discussing some of the important questions that were commonly asked...
CONCEPTS USED: Josephus Problem DIFFICULTY LEVEL: Hard PROBLEM STATEMENT(SIMPLIFIED): Given a circular linked list containing N elements from 1 - N arranged in increasing order and an integer M. Your...
1. Beginning of any programming language deals with your first “Hello World!”. Can you print this “Hello World!” in C++? Ans. (Main function is always executed first) #include<iostream.h> using namespace...
Ah! The most popular phase nowadays. Right? Coding has now become an important subject in itself. It not only helps you to clear your thinking process but also increases your...
C++ is one the most popular languages in the programming world. In this article we will be looking towards 10 simple programs for beginners in CPP. Adding two numbers in...
The linked list is one of the most important concepts in data structures and data structures to learn while preparing for interviews. Having a good grasp of Linked Lists can...
 Explain the main purpose of the Operating system?Ans. OS is used for communication between the computer systems and their peripherals and also provides an environment for the development and...
Java being one of the most popular languages is sometimes quite intimidating. Most of you must have heard or even used both core java and advanced java concepts at some...
Write a program to swap two numbers in Java. Ans. Two ways to do this -with third variable and without third variable. public static void swapNumberswithtemp(int a, int b) {...
Concepts Used Strings Difficulty Level Easy Problem Statement (Simplified): Find the total number of pairs of indexes (i , j) such as subString(i , j) contains aman atleast once. See...