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
Explain two-dimensional array.
Explain how do you determine whether to use a stream function or a low-level function?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What does the c preprocessor do?
What is difference between array and pointer in c?
How to establish connection with oracle database software from c language?
What is the use of typedef in structure in c?
Explain how does flowchart help in writing a program?
I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.
Which is an example of a structural homology?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
Write a program to print numbers from 1 to 100 without using loop in c?
Explain what are the different data types in c?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
What is variable and explain rules to declare variable in c?