write a c program to add two integer numbers without using
arithmetic operator +
Answer Posted / 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 |
Post New Answer View All Answers
What are the 4 data types?
What are high level languages like C and FORTRAN also known as?
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
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What is typedef example?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
Why calloc is better than malloc?
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
What is structure in c language?
Explain what is the most efficient way to store flag values?
Write a program to check armstrong number in c?
What are the benefits of c language?
Write a program to swap two numbers without using third variable?
List a few unconditional control statement in c.
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc