what is difference between thread and programme.
Answer / lalit
hread is the smallest executable unit of a process. For example, when you run a notepad program, operating system creates a process and starts the execution of main thread of that process.
Process is an executing instance of a program. For example, When you double click on the Google Chrome icon on your computer, you start a process which will run the Google Chrome program. When you double click on a notepad icon on your computer, a process is started that will run the notepad program.
| Is This Answer Correct ? | 1 Yes | 0 No |
A file pointer always contains the __________ of the file
what is new modifier in C#
#include <iostream> using namespace std; int main() { int a = 3; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][2]; }
what is difference between class template and template class?
Write A Program using Single and Multiple Inheritance.
What is encapsulation with real life example?
Can anyone please explain runtime polymorphism with a real time example??at what ciscumstances we go for it??
how to swap the variables without using temp and operators
swapping program does not use third variable
What are the benefits of polymorphism?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)