060. Technical interview question: Sum of two integers without using + operator

int main()
{
  int a = 10;
  int b = 10;
  int sum = - ( -a-b );
  printf("%d", sum);
  return 0;
}
Watch video explanation for this technical question

Leave a Reply

Your email address will not be published. Required fields are marked *