Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is unary operator?

1173


Why are algorithms important in c program?

1171


Is void a keyword in c?

1046


Explain what will the preprocessor do for a program?

1109


Explain 'far' and 'near' pointers in c.

1186


Explain about block scope in c?

1141


What is spaghetti programming?

1196


How can I avoid the abort, retry, fail messages?

1183


What is null in c?

1151


Can a local variable be volatile in c?

1053


Difference between constant pointer and pointer to a constant.

1221


How main function is called in c?

1166


What is hashing in c?

1209


Where is c used?

1153


What is the difference between far and near in c?

1121