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
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is an lvalue?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
what is the diffrenet bettwen HTTP and internet protocol
What is the explanation for cyclic nature of data types in c?
What do you understand by normalization of pointers?
What is local and global variable in c?
What is an auto variable in c?
What is the hardest programming language?
Explain heap and queue.
What is the purpose of realloc()?
What is printf () in c?
Explain how do you sort filenames in a directory?
What is the difference between text and binary i/o?
What are the different types of control structures in programming?