Passing parameters in function

In, “Trailing Zeros function”, we created a variable n of long long int type but in function definition, we declared it as int. so won’t the program create wrong result in case range is greater than that of int as per constraint it can be <=10^9.

@himanshigupta579 range<=10^9 can be store in int so you can define here n as int too it will give same result,or you can pass long long int to the function if getting more bigger numbers which are greater than int Range.