Code

int main()
{
    float health = 100.f;
    const int heal = 13;
    health = heal + health * 0.5f;
    return 0;
}
int main()
{
    const int a = 17;
    const int b = 19;
    const int result = a + b;
    return result;
}
int max(int a, int b)
{
    return a > b ? a: b;
}

int main()
{ 
    const int result = max(10, 23);
    return result;
}
extern int a;
extern int b;

int max(int a, int b)
{
    return a > b ? a: b;
}

int main()
{ 
    const int result = max(a, b);
    return result;
}

Last updated