write a c program to add two integer numbers without using
arithmetic operator +

Answer Posted / jithender palle(vaagdevi wgl)

main()
{
int a=10,b=30,c;
c=a|b;
printf("%d",c);
}

Is This Answer Correct ?    8 Yes 21 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you print only part of a string?

656


What should malloc(0) do? Return a null pointer or a pointer to 0 bytes?

596


What are the features of the c language?

652


What is the difference between break and continue?

611


Write a program for finding factorial of a number.

637






Explain spaghetti programming?

689


What does int main () mean?

558


In c language can we compile a program without main() function?

584


What is a rvalue?

755


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3062


Explain what are the advantages and disadvantages of a heap?

603


How old is c programming language?

587


What is a MAC Address?

633


can any one provide me the notes of data structure for ignou cs-62 paper

1708


Which header file is essential for using strcmp function?

947