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
Can we declare function inside main?
Explain what are multibyte characters?
What is the difference between array and linked list in c?
What are the valid places to have keyword “break”?
What does stand for?
What is linear search?
What does %c mean in c?
Is there any data type in c with variable size?
Explain what is the difference between a free-standing and a hosted environment?
When can you use a pointer with a function?
Write a C program in Fibonacci series.
What are the features of c languages?
What are categories used for in c?
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Why #include is used in c language?