Answer:
d) daco = new Banana;
Explanation:
Dynamically allocated variables have their memory allocated in the heap memory.We declare a dynamical variable like this:-
int *a=new int ;
It means a pointer a is created on the stack memory which hold the address of the block that hold the value of variable a in heap memory.
We already have the pointer daco. We just have to initialize with keyword new.
It will be like daco=new Banana; which matches the option d.
Answer:
<em>A checkbox</em>
Explanation:
A checkbox <em>(check box, tick box, tick box) is an User interface widget that allows the user to choose a binary option.</em>
Like a choice between any of two potential options that are mutually exclusive.
For instance, on a simple yes / no question, the user may have to answer ' yes ' (checked) or ' no ' (not checked).