write a program for 7*8 = 56 ? without using * multiply
operator ? output = 56
Answer Posted / raju kalyadapu
int main()
{
int i=0,n=0;
while(i++<8)
n=n+7;
printf("7 * 8 is:%d",n);
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is meant by gets in c?
What are the ways to a null pointer can use in c programming language?
What is meant by preprocessor in c?
When should structures be passed by values or by references?
Is int a keyword in c?
how to make a scientific calculater ?
What does the characters “r” and “w” mean when writing programs that will make use of files?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
Explain how can I write functions that take a variable number of arguments?
What are the functions to open and close the file in c language?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.
What is table lookup in c?
What is call by value in c?
Explain what is the difference between a free-standing and a hosted environment?
Define circular linked list.