Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Why string is used in c?

1015


What is equivalent to ++i+++j?

1101


Write the control statements in C language

1220


What is binary tree in c?

1111


What is bubble sort technique in c?

991


what is the different bitween abap and abap-hr?

2344


List a few unconditional control statement in c.

995


Is boolean a datatype in c?

1077


How can I read data from data files with particular formats?

1052


Why c language is called c?

1026


c program to compute AREA under integral

2414


What does %c do in c?

1001


What is #include stdio h?

1130


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1257


What is bash c?

1019