after calling the void function in int main . i am not able to understand the importance of display line mentioned in the code
Calling the void function
Hello @SarthakMittal,
rotate() function call will rotate the array and display() function call is used to print the array after rotation.
display() function is defined before rotate() function in the code.
1 Like
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.