Describe the difference between a Thread and a Process?
Answer Posted / anshu
A thread is building block of process, there can be
multiple thread or at least one thread per process.
Process is self loadable but thread need a process to run.
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
what are the ways in which a constructors can be called?
What are functions in oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Why multiple inheritance is not possible?
What is the real time example of inheritance?
What is encapsulation oop?
What is ambiguity in inheritance?
when to use 'mutable' keyword and when to use 'const cast' in c++
What are the 3 pillars of oop?
Why is there no multiple inheritance?
What is use of overloading?
What are the data types in oop?
What is encapsulation and abstraction? How are they implemented in C++?
What is property in oops?