Skip to content

Interview Sansar

Software jobs interview preparation source

  • Home
  • Interview Questions
    • C Interview Questions
    • C++ Advanced Interview Questions
    • C++ Basic Interview Questions
    • Core Java Interview Questions
    • Java Collections Interview Questions
    • Java Multithreading Interview Questions
    • C# Basic Interview Questions
    • C# Advanced Interview Questions
    • C# Multi-threading Interview Questions
  • MCQs
    • MCQ-C++
    • MCQ-Java
    • MCQ-SQL
    • MCQs Algorithms and Data Structure
  • Programming Examples
    • C Programming Examples
    • C++ Programming Examples
    • C# Programming Examples
    • SQL Examples
    • Oracle PL SQL Examples
    • Time Complexity
  • Blog
    • C++ interview questions
    • C# interview questions
    • Java Interview Questions
    • Short Interview Questions
    • Behavioural / HR Interview
  • You-Tube
  • About
    • Why Visit
    • Sitemap
    • Contact Us
    • e-author

Author: rsingh

UML Diagram

What are two main categories of UML diagram?

August 18, 2024July 18, 2015 rsingh

Answer: Two main categories of UML diagram are Structural and Behavioural diagrams. These diagrams explain the static and dynamic characteristics of the system. Structural diagram

Read More
UML Diagram

What is UML Diagram- Unified Modelling Language?

August 18, 2024July 18, 2015 rsingh

Answer: The UML (Unified Modelling Language) Diagram is a standardized modelling language of describing, designing and documenting a software system in object-oriented software engineering. There

Read More
C++ Basic Interview Questions

Can Copy constructor accept object by value instead of reference?

August 18, 2024July 20, 2015 rsingh

Answer: No, in C++, a copy constructor doesn’t support pass by value but pass by reference only. It cannot accept object parameter by value and

Read More
C++ Basic Interview Questions

what is order of constructor call for composed objects in a class?

August 18, 2024July 23, 2015 rsingh

Answer: Order of constructor call for composed objects in a class would be as below. Consider an example of Mobile class, composed of Battery and

Read More
C++ Basic Interview Questions

What is order of calling constructor and destructor in C++?

August 18, 2024January 29, 2023 rsingh

Order of execution of constructors and destructors in C++ is frequently asked interview question. For this question, we have to answer c++ constructor call order and

Read More
Design Patterns and Principles

What is difference between Factory Design Pattern and Builder Pattern?

August 18, 2024July 25, 2015 rsingh

Answer: Listing here the differences between factory design pattern and Builder design pattern with example and source code. A Factory Design Pattern is used when

Read More
C++ Basic Interview Questions

In what situations initialization list is must and assignment in constructor body does not help?

August 18, 2024August 6, 2015 rsingh

Answer: Here is the some of the scenarios where we must use initialization list in C++. Scenario-1: initialization of constant & reference data member of

Read More
C++ Basic Interview Questions

What is initialization list in Constructor in C++ Programming?

August 18, 2024August 6, 2015 rsingh

Answer: Initializer list or initialization list in constructor in C++ programming is used to initialize data members of a class. Constructor of a class can

Read More
C++ Basic Interview Questions

What is difference between pointer and reference in C++

August 18, 2024January 29, 2023 rsingh

Before listing the difference between pointer and reference in C++ , lets see the definition of pointer and reference. Pointer: A pointer is a simply

Read More
C++ Basic Interview Questions

C++ program to swap two numbers using pointers and references

August 18, 2024January 29, 2023 rsingh

C++ program to swap two numbers using pointers and references and functions. Swapping two number using pointers concept is applicable to both C and C++.

Read More

Posts pagination

Previous 1 … 7 8 9 … 48 Next

My Unique Books for YOU

All Rights Reserved 2023: Interview Sansar.
Proudly powered by WordPress | Theme: Fairy Blog by Candid Themes.