Write a C program to multiply tho numbers without using
arithmetic operator (+, -, *, /).
Answer Posted / taz
int a=5,b=2,c,i,j;
for(i=1;i<=a;i++)
for(j=1;j<=b;j++)
c++;
printf("%d",c);
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
How many bytes is a struct in c?
What is the difference between variable declaration and variable definition in c?
what is the different bitween abap and abap-hr?
what are bit fields in c?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
List some applications of c programming language?
Explain what is a 'locale'?
What is union and structure in c?
State two uses of pointers in C?
Can you subtract pointers from each other? Why would you?
What is a nested loop?
What is a sequential access file?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above