how to add numbers without using arithmetic operators.

Answer Posted / autojack

#include<stdio.h>
#include<conio.h>
void main()
{
int a=5,x=10,c;
clrscr();
c=a|x;
printf("%d",c);
getch();
}

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is zero based addressing?

727


How can I open a file so that other programs can update it at the same time?

677


What is c token?

633


What is meant by 'bit masking'?

902


What is function prototype in c with example?

591






What is wild pointer in c?

627


How do I round numbers?

612


Why malloc is faster than calloc?

604


What is null pointer in c?

608


What is the difference between a free-standing and a hosted environment?

655


How do you determine a file’s attributes?

615


What library is sizeof in c?

588


When should a far pointer be used?

615


How many types of functions are there in c?

597


write a programming in c to find the sum of all elements in an array through function.

1721