write a c program to add two integer numbers without using
arithmetic operator +
Answers were Sorted based on User's Feedback
Answer / jithender palle(vaagdevi wgl)
main()
{
int a=10,b=30,c;
c=a|b;
printf("%d",c);
}
| Is This Answer Correct ? | 8 Yes | 21 No |
Answer / 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 |
what is void pointer?
what is mean by Garbage collection ? Please answer me. Advance thanks.
i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) { k+=j<10?4:3; } printf("%d", k);
What is structure and union in c?
Can anyone tell what is stack overflow? what precaution we should take?
to find the program of matrix multiplication using arrays
how many keywords are available in 'c' language a) 32 b) 34 c) 45 d) 48
what is the difference between getch() and getchar()?
How can you invoke another program from within a C program?
Can i use “int” data type to store the value 32768? Why?
difference between i++* and *++i
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none