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 define c?
Create a simple code fragment that will swap the values of two variables num1 and num2.
What is the condition that is applied with ?: Operator?
Dont ansi function prototypes render lint obsolete?
What are the advantages of external class?
Tell us something about keyword 'auto'.
Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.
What is the difference between Printf(..) and sprint(...) ?
What are formal parameters?
Using which language Test cases are added in .ptu file of RTRT unit testing???
How can I avoid the abort, retry, fail messages?
How can I list all of the predefined identifiers?
Suggesting that there can be 62 seconds in a minute?
How does free() know explain how much memory to release?
write a program to copy the string using switch case?