Do we have to calculate time for declaring statement, in my case
int num3 statement. The following question was asked by professor as a post-lecture quiz. I selected
t(n)=3, but the correct answer was
What is the time taken by following algorithm on RAM model ?
t(n)=3 t(n)=4 t(n)=5 None of the above