@G_rahil,
Code - there will still be compilation error, because you are calling function with wrong arguments. Correct it and it will compile.