write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / syamanth
main()
{
int a,b,c;
printf("enter a,b values:");
scanf("%d%d",&a,&b);
c=((a)-(~b)+1);
printf("sum of a,b is %d",c);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can the sizeof operator be used to tell the size of an array passed to a function?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Write a simple code fragment that will check if a number is positive or negative.
State two uses of pointers in C?
What is #ifdef ? What is its application?
When the macros gets expanded?
What does stand for?
What is the difference between test design and test case design?
Does c have function or method?
Is a pointer a kind of array?
What is scanf () in c?
How do we declare variables in c?
Why C language is a procedural language?
What is nested structure in c?
What are multibyte characters?