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 / 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

How is null defined in c?

1156


Explain the use of fflush() function?

1085


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1015


What are the 4 types of functions?

1061


what is the structure pointer?

2131


code for find determinent of amatrix

1972


can anyone suggest some site name..where i can get some good data structure puzzles???

2087


What is #define in c?

1048


which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above

1728


Combinations of fibanocci prime series

1618


Are there constructors in c?

1012


Explain how do you print an address?

1146


What is the significance of an algorithm to C programming?

1048


Do you know the difference between malloc() and calloc() function?

1069


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

1147