Vision and dreams are the blueprints of soul and achievements.
-Mohammed Ahmed F

Subtract without a subtract operator

int main()
int a,b;
int sum;
printf("Enter any two integers: ");
sum = a + ~b + 1;
printf("Difference of two integers: %d",sum);
return 0;

Share this

Related Posts

Dear User,

Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.

-Chief Administrative Officer.