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 / 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


Please Help Members By Posting Answers For Below Questions

What is the purpose of void in c?

1010


Tell us bitwise shift operators?

1050


What is the value of uninitialized variable in c?

1000


What is the benefit of using an enum rather than a #define constant?

1196


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1169


Can we use any name in place of argv and argc as command line arguments?

1045


Differentiate between #include<...> and #include '...'

1022


Explain what is the benefit of using an enum rather than a #define constant?

1186


What does nil mean in c?

1207


Simplify the program segment if X = B then C ← true else C ← false

2976


What is the purpose of void pointer?

1002


Difference between macros and inline functions? Can a function be forced as inline?

1229


How can I manipulate individual bits?

1014


What are the different types of endless loops?

1043


how to find anagram without using string functions using only loops in c programming

3155