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


Please Help Members By Posting Answers For Below Questions

What is c basic?

910


What is modeling?

828


What is data structure in c and its types?

829


What are the uses of a pointer?

885


what is the different bitween abap and abap-hr?

1950


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

926


What is a structural principle?

851


Why dont c comments nest?

846


Are the variables argc and argv are local to main?

1020


What is an identifier?

824


difference between object file and executable file

6359


What is dangling pointer in c?

828


any C program contains only one function, it must be a) void () b) main () c) message () d) abc ()

925


What is unsigned int in c?

757


How can you find the day of the week given the date?

861