how to add numbers without using arithmetic operators.

Answer Posted / valli

#include<stdio.h>
main()
{
int a=5,b=6,s;
int *p=a;
s=&p[b];
printf("%d",s);
}

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why does the call char scanf work?

626


Why dont c comments nest?

627


Write a program to check palindrome number in c programming?

604


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

673


Explain 'bus error'?

571






Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

3700


How many levels of pointers have?

604


Dont ansi function prototypes render lint obsolete?

616


please give me some tips for the placement in the TCS.

1641


Why C language is a procedural language?

627


How will you delete a node in DLL?

692


Is c++ based on c?

661


In a byte, what is the maximum decimal number that you can accommodate?

630


What is the function of this pointer?

685


Do you have any idea how to compare array with pointer in c?

615