how to add two numbers without using arithmetic operators?

Answer Posted / mallikarjun

#include<stdio.h>
#include<conio.h>
main()
{
int a= 10;
int b=5;
sum=0;
sum= a&&b;
printf(" sum= %d",sum);
}

Is This Answer Correct ?    9 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Calculate 1*2*3*____*n using recursive function??

1520


What will the preprocessor do for a program?

593


Are there namespaces in c?

570


Explain how do you search data in a data file using random access method?

698


What is the size of structure in c?

703






Is main a keyword in c?

633


How are structure passing and returning implemented?

593


The statement, int(*x[]) () what does in indicate?

648


Differentiate between #include<...> and #include '...'

617


What is null character in c?

692


Are bit fields portable?

680


What is your stream meaning?

608


What are the 4 data types?

602


What is the use of ?

626


What does char * * argv mean in c?

625