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
What is infinite loop?
What are the types of i/o functions?
Differentiate between functions getch() and getche().
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
Is calloc better than malloc?
Explain can you assign a different address to an array tag?
What is structure pointer in c?
write a program for the normal snake games find in most of the mobiles.
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
What is printf () in c?
What is array of pointers to string?
What is the best way to store flag values in a program?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Do you know the purpose of 'register' keyword?