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

What is static memory allocation?

1241


What is a node in c?

1023


What is the difference between the local variable and global variable in c?

1015


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

1049


Why pointers are used?

1116


How do you list files in a directory?

1210


Why main function is special give two reasons?

1604


i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical

2386


What is New modifiers?

1185


Explain the red-black trees?

1199


There seem to be a few missing operators ..

1094


What does the error 'Null Pointer Assignment' mean and what causes this error?

1258


What are all different types of pointers in c?

1058


What is the use of clrscr?

1156


Write a code to generate a series where the next element is the sum of last k terms.

1290