write a c programs to do multiplication of two numbers with
out using arithmatic operator ??????????
Answer Posted / mugdha
#include<stdio.h>
#include<conio.h>
void main()
{int i, j ,num1,num2;
printf("enter the value of num1 & num2");
scanf("%d%d",&num1,&num2);
for(i=1; i<=num1; i++)
for(j=1;j<=num2;j++)
{static int k=1;
k++;
)printf("%d\n",k);}
| Is This Answer Correct ? | 12 Yes | 19 No |
Post New Answer View All Answers
What is a string?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
What are c identifiers?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
When is a “switch” statement preferable over an “if” statement?
Explain the difference between structs and unions in c?
Explain the advantages and disadvantages of macros.
What extern c means?
Explain a file operation in C with an example.
What is the difference between ‘g’ and “g” in C?
What is the difference between declaring a variable and defining a variable?
What are the disadvantages of a shell structure?
What is the argument of a function in c?
What is pointer and structure in c?
The __________ attribute is used to announce variables based on definitions of columns in a table?