I encountered a code with the function arithmetic(), basically, for multiplication, the thing that bothered me was the use "!" the NOT unary operator before the function call. code goes like:-
#include<iostream>
using namespace std;
int arithmetic(int,int);
int main()
{
return !arithmetic(11,9);
}
int arithmetic(int a, int b)
{
return(printf("%d",(++a*--b)));
}
p.s:- removing the ! operator brings no change to the result.