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 |
What is oop in c++?
Why do we need templates?
What are the four partitions in which c++ compiler divides the ram?
When is the last time you coded in C/C++? What is the most lines of original C/C++ code you have personally written in one project? How confident are you in your ability to write C or C++ without a reference?
Describe the setting up of my member functions to avoid overriding by the derived class?
write program for palindrome
81 Answers Amazon, Aricent, CSC, GE, HCL, Infosys, Syntel, Temenos, Wipro,
Differentiate between a constructor and a destructor in c++.
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
What is data structure in c++?
How do you know that your class needs a virtual destructor?
What you know about structures in C++?
0 Answers Agilent, ZS Associates,
Describe the syntax of single inheritance in C++?