Ad
  • Custom User Avatar

    It is not recommended to have recursion instead of loop in enterprise applications, because of higher memory usage, performance overhead, and in general being harder to debug/maintain.

  • Custom User Avatar

    You could declare variable c out of for, that variable will created for one times