write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / anbuchristi
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
clrscr();
printf("\n Enter The Number:");
scanf("%d",&a);
printf("\n Enter the Number:");
scanf("%d",&b);
c=a+b;
printf("\n The Result Is");
printf("\n ~~~ ~~~~~~ ~~");
printf("%d",c);
getch();
}
Is This Answer Correct ? | 20 Yes | 74 No |
Post New Answer View All Answers
How do you initialize pointer variables?
Describe the steps to insert data into a singly linked list.
Explain how can you tell whether two strings are the same?
How does #define work?
What is the purpose of the statement: strcat (S2, S1)?
Can the curly brackets { } be used to enclose a single line of code?
How do I copy files?
Is c weakly typed?
Who is the founder of c language?
cavium networks written test pattern ..
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Explain how can you tell whether a program was compiled using c versus c++?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
What is mean by data types in c?
How are variables declared in c?