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
Explain the use of 'auto' keyword in c programming?
Ow can I insert or delete a line (or record) in the middle of a file?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.
How can you pass an array to a function by value?
When was c language developed?
What are predefined functions in c?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
Explain how can I make sure that my program is the only one accessing a file?
How do we open a binary file in Read/Write mode in C?
What is the best way of making my program efficient?
How to establish connection with oracle database software from c language?
Describe the modifier in c?
What is a macro, and explain how do you use it?
What is a char in c?