Consider the following C program.

void f (int, short);

void main()

{

int i = 100;

short s = 12;

short *p = & s;

__________ ;   // call to f()

}

Which one of the following expressions, when placed in the blank above, will NOT result in

a type checking error?

1
f(s,*s)
2
i =f(i,s)
3
f(i,*s)
4
f(i,*p)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation