Answer:
Option(d) is the correct answer to the given question
Explanation:
The main advantage of slab allocator is that There is no memory is lost because of the fragmentation this is due to some driver data framework has a cache memory that is connected to it.
- In the slab allocator the resources are repeatedly assigned or free to handle them. It is a type of memory management scheme that is used for distributing resources to the memory.
- All the other options are not considered as advantages of Slab allocator that's why they are an incorrect options.
Your answer is -
B. Folder Is the best place to save it
Answer:
C) the world wide web.
Explanation:
if you where to google the question it is the definition of the WWW
Answer:
Output:
Income is greater than 3000
Explanation:
In conditional statements, either the if statement is processed or the else if.
In this scenario, both the given conditions fit for the given output but when if block will be processed, the else if block will be skipped by default.
So the output will only be the out phrase of if block which is:
Income is greater than 3000.
Answer:
double *prices=new double [256];
Explanation:
To allocate memory on heap we use new keyword.In the above statement an array name prices is declared and the memory allocated to it is on the heap memory.
First look at double * prices.It is a pointer this pointer is created on the stack memory which holds starting address of the array present on the heap memory of size 256..