How to add two numbers without using arithmetic operators?
Answer Posted / prashant
even this gives the same ans as the above program gives...
just every one plz check it and tell me
#include<stdio.h>
#include<math.h>
int main()
{
int a,b,c;
printf("enter the nos");
scanf("%d %d",&b,&c);
a= (b^c);
printf("%d",a);
return 0;
}
| Is This Answer Correct ? | 19 Yes | 114 No |
Post New Answer View All Answers
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
Explain how can a program be made to print the name of a source file where an error occurs?
Explain 'far' and 'near' pointers in c.
Why isn't any of this standardized in c? Any real program has to do some of these things.
formula to convert 2500mmh2o into m3/hr
Explain what is meant by high-order and low-order bytes?
Why malloc is faster than calloc?
What are the types of type specifiers?
Write a program to show the change in position of a cursor using c
Why doesnt that code work?
What is the use of sizeof () in c?
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
What is the difference between local variable and global variable in c?
How macro execution is faster than function ?
What are the __date__ and __time__ preprocessor commands?