Consider the following C program:

#include

int a,b,c,d;

int compute(int i,int j)

{

    int x = 68 ; 

    char y = 'D' ;

    if(x!=y)

    {

    a = i/j*j;

    b = j/i*i;

    }

    else

    {

    c = -i - - j ;

    d = -i - - ( - j ) ;

    }

    return 0;

}

int main(void)

{

                compute(20,21);

                printf("%d %d %d %d",a,b,c,d);

                return 0;

}

The output of above program is:

1
0 20 0 0
2
0 0 1 -41
3
0 0 1 41
4
1 20 0 0

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation