how to add numbers without using arithmetic operators.
Answer Posted / santhi perumal
#include<Stdio.h>
#include<conio.h>
void main()
{
int a=10,b=20;
while(b--) a++;
printf("Sum is :%d",a);
}
| Is This Answer Correct ? | 9 Yes | 11 No |
Post New Answer View All Answers
What is character set?
how to build a exercise findig min number of e heap with list imlemented?
Differentiate abs() function from fabs() function.
Why does everyone say not to use gets?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
What are static variables in c?
What is c programming structure?
What is the difference between break and continue?
What happens if header file is included twice?
What is the difference between pure virtual function and virtual function?
What is the purpose of type declarations?
What is hungarian notation? Is it worthwhile?
What does struct node * mean?
5 Write an Algorithm to find the maximum and minimum items in a set of ānā element.