#define

What does the following code print?

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
int kitty(int a, int b)
{
    int c;
    c=(2-a/b)*2;
    return c;
}
void main ()
{
    int a=6; b=4;
    cout<<kitty(a,b);
}

×

Problem Loading...

Note Loading...

Set Loading...