how to add numbers without using arithmetic operators.
Answer Posted / abdur rab
#include <stdio.h>
int main ( int argc, char* argv [ ] )
{
int value1 = 10;
int value2 = 5;
printf ( "\n The sum is :%d", value1 | value2 );
}
| Is This Answer Correct ? | 10 Yes | 12 No |
Post New Answer View All Answers
What are the 4 data types?
What are the different types of objects used in c?
What is static and auto variables in c?
What's the right way to use errno?
Explain what is the difference between a string and an array?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
Is c procedural or functional?
What is a nested loop?
Where does the name "C" come from, anyway?
Explain what is operator promotion?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
How do you do dynamic memory allocation in C applications?
Explain how can you avoid including a header more than once?
What does static variable mean in c?