Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

C++ General Interview Questions
Questions Answers Views Company eMail

Implement strcmp

Bloomberg, Citadel,

3 7035

Implement strncpy

3 7652

how can u create a doubly linked list with out using pointers?

2 3775

Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..


how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include //INCLUDE EVERY KNOWN HEADER FILE #include //FOR ANY CASE... #include #include #include main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["< 1365

why we cant create array of refrences

4 5218

what is difference between static and non-static variables

10 22529

What does '\r' and '\b' mean? Please explain with example.

7 27745

what is software cycle? What is a mission critical system ? What is the important aspect of a real-time system ? Explain the difference between microkernel and macro kernel. Give an example of microkernel.Why paging is used ? Which is the best page replacement algo and Why ? What is software life cycle ? How much time is spent usually in each phases and why Which one do U want to work if selected in Honeywell ? Which are the different types of testing ? What is a distributed system ? Some questions about CSP. Which languages do U know ? What are the differences between Pascal and C. questions from Compiler construction and Lisp. Which are the different computer architecture? What is the requirement in MIMD ? What is the difference between RISC and CISC processors ? Difference between loosely coupled and tightly coupled systems ? What is an open system?



how to find the maximum of 10 numbers ?

5 9062

Why for local variables the memory required to hold the variable is allocated from the program stack and for new its allocated from the heap?

1 2243

What is object slicing and how can we prevent it?

Tech Mahindra,

2 15056

What is multithreading and what is its use?Whats are multithreading techniques used in C++?

1 2998

What is a mutex and a critical section.Whats difference between them?How do each of them work?


4 10255

What is a pure virtual function? Why is it represented as = is the internal implementation for the same


3 5957

Post New C++ General Questions

Un-Answered Questions { C++ General }

Can a constructor return a value?


Are vectors passed by reference c++?


What are the main features of c++?


Mention the purpose of istream class?


Do vectors start at 0 c++?


What are destructors?


What is c++ runtime?


What is encapsulation in c++ with example?


Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.


Why can templates only be implemented in the header file?


What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero


What is data hiding c++?


Can malloc be used in c++?


What is a manipulative person?


What is rtti in c++?