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 a string?

1121


Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?

1088


What are c identifiers?

1094


Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?

3522


When is a “switch” statement preferable over an “if” statement?

1151


Explain the difference between structs and unions in c?

1028


Explain the advantages and disadvantages of macros.

1105


What extern c means?

1005


Explain a file operation in C with an example.

1121


What is the difference between ‘g’ and “g” in C?

4012


What is the difference between declaring a variable and defining a variable?

1281


What are the disadvantages of a shell structure?

1355


What is the argument of a function in c?

1053


What is pointer and structure in c?

1186


The __________ attribute is used to announce variables based on definitions of columns in a table?

1214