write a program for 7*8 = 56 ? without using * multiply
operator ? output = 56
Answer Posted / banavathvishnu
int main()
{
printf("%d",7<<3);
getch();
}
| Is This Answer Correct ? | 30 Yes | 7 No |
Post New Answer View All Answers
What is the difference between a function and a method in c?
What are the 4 data types?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
For what purpose null pointer used?
What are local static variables? How can you use them?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
Why does notstrcat(string, "!");Work?
Tell me the use of bit field in c language?
How was c created?
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.
What does c mean before a date?
What are the advantages of the functions?
What's a good way to check for "close enough" floating-point equality?
What are the disadvantages of external storage class?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?