write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / sivaprabhu
main()
{
int a,b,c;
printf("enter the values a,b");
scanf("%d%d",&a,&b);
c=a-(~b)-1;
printf("the sum is %d",c);
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is .obj file in c?
What is indirection? How many levels of pointers can you have?
What is the use of getchar functions?
Is c is a procedural language?
The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?
Can an array be an Ivalue?
c program for searching a student details among 10 student details
Why doesn't C support function overloading?
how to build a exercise findig min number of e heap with list imlemented?
What is character set?
What is static memory allocation? Explain
Explain what is page thrashing?
What is a structure in c language. how to initialise a structure in c?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
Explain how do you use a pointer to a function?