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

Can we declare function inside main?

1005


Explain what are multibyte characters?

1203


What is the difference between array and linked list in c?

1160


What are the valid places to have keyword “break”?

1091


What does stand for?

1090


What is linear search?

1141


What does %c mean in c?

1099


Is there any data type in c with variable size?

1103


Explain what is the difference between a free-standing and a hosted environment?

1187


When can you use a pointer with a function?

1077


Write a C program in Fibonacci series.

1093


What are the features of c languages?

1107


What are categories used for in c?

1101


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

1128


Why #include is used in c language?

1054