Category Archives: Logic Logic

Hackerearth: COUNT NUMBERS

code:

 

Return More Than one Value in a Function

In function we can’t retun more than one value with return keyword. In this case we need pointer to return more variables than one in function.

code:

Ouput:

 

 

Pointer More More Clear

Find Max Value From 3 Parameters Using Function

code:

Another Logic by me:

Another Logic that is good:

A very very good logic: (Logic Logic)