Unary operator |unary minus in c/c++

 

main()
{
Int d=- - 3;
printf(“d=%d”,d);
}

Tutorial answer:3
Debugging solution:
Unary minus operator is used twice.apply maths rules
Minus*minus=plus;

No comments:
Write comments