Consider the below given code

#include
void Func(int **ptr2,int **ptr1)
{
    int *ii;
    ii = *ptr2;
    *ptr2 = *ptr1;
    *ptr1 = ii;
    **ptr1 *= **ptr2;
    **ptr2 += **ptr1;
}
int main()
{
    int var1 = 5, var2 = 10;
    int *ptr1= &var1, *ptr2= &var2;
    Func(&ptr1, &ptr2);
    printf("%d %d ",var2, var1);
}

Let the output of var2 be x and the output of var1 be y.

Which of the following is/are true?

1
x × y = 2500 
2
x - y = 10
3
x ÷ y = 6 ÷ 5
4
x + y = 100

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation