write a program for 7*8 = 56 ? without using * multiply
operator ? output = 56
Answer Posted / manish soni bca 3rd year jaipu
#include<stdio.h>
#include<conio.h>
void main()
{
int i,ans;
ans=0;
for(i=0;i<8;i++)
ans=ans+7;
printf("%d",ans);
getch();
}
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What are the advantages of the functions?
What's a good way to check for "close enough" floating-point equality?
Why functions are used in c?
What are header files in c?
Explain what is the difference between #include and #include 'file' ?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Explain how do you declare an array that will hold more than 64kb of data?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What are structure types in C?
What is the use of typedef in c?
Can we use any name in place of argv and argc as command line arguments?
What are all different types of pointers in c?
How to write a code for reverse of string without using string functions?
What are valid signatures for the Main function?
What is the significance of c program algorithms?