STL (140)
OOPS (873)
C++ General (2409) Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
3902Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
2 6428how 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
what is difference b/w object based and object oriented programming language?
Chaitanya, College School Exams Tests, Educomp, IBM, Infosys, Telko,
18 47715what is multithreading in c++ , what is difference between multithreading and singlethreading.
4 34745How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
2190
Do inline functions improve performance?
What is class definition in c++ ?
Comment on local and global scope of a variable.
What is the difference between a template and a macro?
When would you choose to return an error code rather than throw an exception?
What is the return value of the insertion operator?
Can comments be nested?
What do you mean by storage classes?
Explain the difference between c++ and java.
Is c++ harder than java?
What is a lambda function c++?
Why polymorphism is used in oops?
Can we change the basic meaning of an operator in c++?
Can we have inheritance without polymorphism?
why reinterpret cast is considered dangerous?