how to add numbers without using arithmetic operators.
Answer Posted / autojack
#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,x=10,c;
clrscr();
c=a|x;
printf("%d",c);
getch();
}
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What are global variables and how do you declare them?
Differentiate between functions getch() and getche().
How can I determine whether a machines byte order is big-endian or little-endian?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
How can I open files mentioned on the command line, and parse option flags?
Why header file is used in c?
How are pointers declared in c?
What is const keyword in c?
What is string length in c?
What is a newline escape sequence?
Difference between pass by reference and pass by value?
Difference between Shallow copy and Deep copy?
Can you please explain the scope of static variables?
What is ctrl c called?
Explain what is a 'locale'?