The appropriate answer is C ! all other are very limited but labour can be increased or decreased according to our will and it doesn't exhaust !
Yoooo whattt?? I don’t get this but idek
Def firstChars( word ):
if( word ): # make sure word has characters
print( word[ 0 ] ) # print the first character (Python 3 syntax)
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.