write a program to add two numbers without using an arithmetic
operator.
Answer / mogankumar pc
#include<stdio.h>
#include<conio.h>
int main()
{
int first,second;
printf("enter the two numbers");
scanf("%d%d",&first,&second);
first+= second;
printf("RESULT:%d",first);
getch();
return 0;
}
//+= is not arithmetic operator; its assignment operator
| Is This Answer Correct ? | 3 Yes | 2 No |
how to swap two numbers with out using temp variable
12 Answers Global eProcure, TCS,
Write a program to find the reverse Fibonacci series starting from N.
find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.
Is c++ a software?
What you know about structures in C++?
0 Answers Agilent, ZS Associates,
Explain the difference between new() and malloc() in c++?
When should you use multiple inheritance?
give me some class & objects examples?
What is endl?
What is the Standard Template Library?
Disadvantages of c++
Would you rather wait for quicksort, linear search, or bubble sort on a 200000 element array? (Or go to lunch...) a) Quicksort b) Linear Search c) Bubble Sort