How to add two numbers without using arithmetic operators?
Answer Posted / ranjith
#include<stdio.h>
main()
{
int a=5,b=4,c;
c=a||b;
printf("sum="+c);
}
| Is This Answer Correct ? | 2 Yes | 21 No |
Post New Answer View All Answers
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
All technical questions
Explain what is a program flowchart and explain how does it help in writing a program?
Do array subscripts always start with zero?
What are shell structures used for?
Tell me about low level programming languages.
What are the difference between a free-standing and a hosted environment?
What do you understand by friend-functions? How are they used?
What is static and auto variables in c?
What is this pointer in c plus plus?
What are register variables in c?
What are the standard predefined macros?
Why flag is used in c?
Which is better oop or procedural?
What are runtime error?