how to add two numbers without using arithmetic operators?
Answer Posted / shashishekar
#include<stdio.h>
#include<conio.h>
int main()
{
int a= 10;
int b=5;
int sum=0;
sum= a-(~b)-1;
printf(" sum= %d",sum);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is wrong with this code?
What is an array in c?
What is string in c language?
hi, which software companys will take,if d candidate's % is jst 55%?
What are structure members?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
How do you convert strings to numbers in C?
Can you please explain the scope of static variables?
There seem to be a few missing operators ..
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
Is there a way to jump out of a function or functions?
What is a struct c#?
Are pointers really faster than arrays?
What is the use of void pointer and null pointer in c language?
Which is better oop or procedural?