How to add two numbers without using arithmetic operators?
Answer Posted / jayanth kothapalli
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
Printf("Enter Two numbers:");
scanf("%d,%d",&a,&b);
c=-(-a-b);
printf("sum is = %d",c);
getch();
}
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What are identifiers c?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
Why void is used in c?
What is the right way to use errno?
difference between object file and executable file
Describe the modifier in c?
Do you know what are the properties of union in c?
What does sizeof int return?
Explain what are preprocessor directives?
What are the features of the c language?
What is bash c?
What are integer variable, floating-point variable and character variable?
Disadvantages of C language.
What are the different categories of functions in c?
Write a program to generate the Fibinocci Series