MY Code:
String fun(int age, String name)
{
print("hi");
return 'My name is $name and i am $age';
}
void main()
{
print("Hello! Good Morning good people.");
fun(21,"Jasraj");
}
Output:
Hello! Good Morning good people. hi
My Question: Why return statement is not working?
See Image
