Consider the following C program. void f(int, short); void main() { int i =…
GATE · 2016 · CS · Set 1 · Computer Science & IT
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?
- A.
- B.
- C.
- D.
Attempted by 443 students.
Sign up free to check your answer
Sign up freeLoading lesson…