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 is the use of putchar function?
What is a list in c?
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
c program to compute AREA under integral
When should volatile modifier be used?
What are different storage class specifiers in c?
How can you tell whether a program was compiled using c versus c++?
given post order,in order construct the corresponding binary tree
Do you know null pointer?
What is non linear data structure in c?
What is the difference between class and object in c?
Can main () be called recursively?
How to define structures? ·
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above