Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc..
3360Base 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 5116how 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 41929what is multithreading in c++ , what is difference between multithreading and singlethreading.
4 33128How 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
1654
Define a nested class.
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is one dimensional array in c++?
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What are c++ storage classes?
Which one between if-else and switch is more efficient?
Discuss the role of C++ shorthands.
Explain the operation of overloading of an assignment operator.
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
Name the implicit member functions of a class.
Why are arrays usually processed with for loop?
Can a program run without main?
the maximum length of a character constant can be a) 2 b) 1 c) 8
What is time h in c++?