Inclusion exclusion concept-implementation video

sir long long rem =1ll (ll is long long) what does 1ll means.

@Abhishmu5
by default any constant number(like 1,2,3…) present on right is of ‘int’ datatype.
so, it is just to convert 1 into long long type.

Here even if you don’t put ‘ll’ after its fine because will still get converted to ll because ‘rem’ which is used to store it is of type ‘ll’.

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.