how to multiply two number taking input as a string
(considering sum and carry )
Answer Posted / ravi
char a[3];
int i;
char s[3];
for(i=1;i<=3;i++)
s[i]=a[i]*2;
printf("%s",s[i]);
| Is This Answer Correct ? | 5 Yes | 18 No |
Post New Answer View All Answers
simple program of graphics and their output display
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1
Is c# a good language?
what do you mean by enumeration constant?
What is a macro?
how to make a scientific calculater ?
For what purpose null pointer used?
What does return 1 means in c?
How does free() know explain how much memory to release?
Do you know the use of 'auto' keyword?
What does sizeof return c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What are the 5 types of inheritance in c ++?
How do c compilers work?
what is the role you expect in software industry?