write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / venky
main()
{
int a,b,c;
printf("enter a,b values:");
scanf("%d%d",&a,&b);
c=((a)-(-b));
printf("sum of a,b is %d",c);
}
Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
What is the difference between near, far and huge pointers?
What are type modifiers in c?
any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above
writ a program to compare using strcmp VIVA and viva with its output.
What is #include called?
What is the use of pointers in C?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
What are called c variables?
Why main is used in c?
What is break statement?
What are dangling pointers in c?
What is function what are the types of function?
Explain what is a pragma?
What is volatile variable how do you declare it?
How to delete a node from linked list w/o using collectons?