how to multiply two number taking input as a string
(considering sum and carry )
Answer Posted / vengat
int i, b;
char a[4] = "63";
for (i = 0;i < 1;i++)
{
b = (a[i] - 48)+(a[i+1]-48);
printf("%d\n", b);
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Why string is used in c?
What is equivalent to ++i+++j?
Write the control statements in C language
What is binary tree in c?
What is bubble sort technique in c?
what is the different bitween abap and abap-hr?
List a few unconditional control statement in c.
Is boolean a datatype in c?
How can I read data from data files with particular formats?
Why c language is called c?
c program to compute AREA under integral
What does %c do in c?
What is #include stdio h?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What is bash c?