1.

Write a MIN macro program that takes two arguments and returns the smallest of both arguments.

Answer»

#DEFINE MIN(NUM1,NUM2) ( (NUM1) <= (NUM2) ? (NUM1) : (NUM2) )

USEFUL Resource

C Interview Questions

C++ Interview Questions

Practice Coding

InterviewBit Blog

Online C++ Compiler



Discussion

No Comment Found