Examveda
Examveda

What will be the output of the following C code?
#include<stdio.h>
static inline int max(int a, int b) 
{
  return a > b ? a : b;
}
main()
{
    int m;
    m=max(-6,-5);
    printf("%d",m);
}

A. -6

B. -5

C. Junk value

D. Error

Answer: Option B


This Question Belongs to C Program >> C Miscellaneous

Join The Discussion

Related Questions on C Miscellaneous