write a c programs to do multiplication of two numbers with
out using arithmatic operator ??????????
Answer Posted / vinay
#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 ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is static memory allocation?
What is a node in c?
What is the difference between the local variable and global variable in c?
a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list
Why pointers are used?
How do you list files in a directory?
Why main function is special give two reasons?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical
What is New modifiers?
Explain the red-black trees?
There seem to be a few missing operators ..
What does the error 'Null Pointer Assignment' mean and what causes this error?
What are all different types of pointers in c?
What is the use of clrscr?
Write a code to generate a series where the next element is the sum of last k terms.