Should you protect the global data in threads? Why or why
not?
Answers were Sorted based on User's Feedback
Global data need to be stored in a common place where each
thread can access it within that program. So it shouldnot
be stored on a particular thread but in the process's
memory where each thread can access it.
Is This Answer Correct ? | 1 Yes | 1 No |
what is single inheritance?
Why static functions always uses static variables?
Why polymorphism is used in oops?
What do you mean by overloading?
difference between overloading and overridding
Can bst contain duplicates?
C#.net Interview Question A=10 B=5 C=A+B Print C The above will be given in a multiline textbox. You need to parse the above input, store values for A,B&c. And you have to display the value of C.
State what is encapsulation and friend function?
How do you answer polymorphism?
what is meant by files?
What is the difference between const int *ptr and int const *ptr???
What is the real life example of polymorphism?