How to add two numbers without using arithmetic operators?

Answer Posted / kavi

#include<stdio.h>
int a,b,c;
{
printf("enter the two values");
scanf("%d","%d",&a,&b);
c=a||b;
}

Is This Answer Correct ?    10 Yes 80 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c not oop?

541


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

562


What are the ways to a null pointer can use in c programming language?

598


What is the use of header?

630


Explain about the constants which help in debugging?

858






What is double pointer in c?

594


What is static and volatile in c?

785


How do you initialize pointer variables?

618


What is c programing language?

620


How can you avoid including a header more than once?

568


Is that possible to add pointers to each other?

907


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

657


What is the general form of function in c?

618


What is %d called in c?

765


How many levels of indirection in pointers can you have in a single declaration?

601