how to add two numbers without using arithmetic operators?
Answer Posted / shashishekar
#include<stdio.h>
#include<conio.h>
int main()
{
int a= 10;
int b=5;
int sum=0;
sum= a-(~b)-1;
printf(" sum= %d",sum);
getch();
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does *p++ do?
What the advantages of using Unions?
What is the use of a semicolon (;) at the end of every program statement?
What is the difference between test design and test case design?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Why is structure padding done in c?
Why header file is used in c?
What is pivot in c?
What will be the outcome of the following conditional statement if the value of variable s is 10?
How many keywords (reserve words) are in c?
What are the various types of control structures in programming?
Explain how do you print only part of a string?
What are identifiers c?