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
write a program to copy the string using switch case?
What is void main ()?
Is there a way to compare two structure variables?
application attempts to perform an operation?
What are the types of type specifiers?
What is the difference between malloc calloc and realloc in c?
What do you mean by c what are the main characteristics of c language?
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
Is there any possibility to create customized header file with c programming language?
What is optimization in c?
Explain heap and queue.
How was c created?
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
What do you mean by dynamic memory allocation in c? What functions are used?
What is meant by gets in c?