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
C++ Programming Examples

Balanced parentheses using stack in C++

August 18, 2024October 18, 2017 rsingh

Check balanced parentheses using stack in C++ with program example. Problem statement: String of parenthesis is given for example “((())) “ or ({}) etc. and

Read More
C++ Programming Examples

C++ Hello World program example

August 18, 2024October 18, 2017 rsingh

C++ hello world program example. This is very short hello world start up program. This C++ program will print hello world on console. Before explanation

Read More
C# Advanced Interview Questions

Create object, C# default or parameterized constructor call?

August 18, 2024February 2, 2016 rsingh

Question Description: In C#, between default and parameterized constructor, which is called if you create an object of a class? For example if class is

Read More
C# Advanced Interview Questions

In C# Abstract class virtual and abstract method both? Why?

August 18, 2024January 29, 2023 rsingh

Questions description:Can we have virtual method in an Abstract class in C#? If yes, what is the purpose of having virtual method and abstract method

Read More
C# Basic Interview Questions

Can a single array have different data types in C#?

August 18, 2024January 29, 2016 rsingh

Answer: In C# programming, Array is homogeneous in nature, So, It cannot hold multiple data types e.g. int, String and bool etc. However, by declaring

Read More
C# Basic Interview Questions

What is difference between class and structure in C Sharp? Also, tell similarities between them.

August 18, 2024January 28, 2016 rsingh

Answer of this technical C# interview includes difference between class and structure in c# programming and similarities between them.Answer Similarities between class and structure in

Read More
C# Basic Interview Questions

When to use IS and AS operators in C#?

August 18, 2024January 27, 2016 rsingh

Answer: Use IS Operator in C# to check if two objects are of same type and AS Operator in C# to typecast one type of

Read More
C# Basic Interview Questions

Explain C# Abstract class constructor with Real Time Example

August 18, 2024January 26, 2016 rsingh

Answer includes C# abstract class constructor with real time example program. An interviewer can also ask it as, can abstract class have constructor in C#

Read More
C# Advanced Interview Questions

C# Private Constructor or Sealed Class to stop inheritance?

August 18, 2024January 29, 2023 rsingh

Interview Question: In C# private constructor or sealed class, which one would you prefer to prevent a class extension in inheritance and why? Answer: The

Read More
C# Advanced Interview Questions

What C# feature will you use to keep common behaviors at one place and force clients to implement some others?

August 18, 2024January 23, 2016 rsingh

Answer: To have common behaviors at one place and force clients to implements others, we should use C# Abstract class and method feature. Abstract class

Read More

Posts pagination

Previous 1 … 52 53 54 … 66 Next

My Unique Books for YOU

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