This was asked in an interview. "There is a bug in the below function, what is it?". It is simple add c function and main function calls it. Given some clue -- "Give different set of input values, test and find bug".
int add (int x, int y)
{
return x + y;
}