how to multiply two number taking input as a string
(considering sum and carry )
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Is it cc or c in a letter?
What are operators in c?
What will be the output of x++ + ++x?
Write a program for finding factorial of a number.
What is pragma in c?
how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
How can I write functions that take a variable number of arguments?
4)What would be the output? main() { int num=425; pf("%d",pf("%d",num)); } a)Comp error b)4425 c)4253 d)3435 e)none
how to sort two array of characters and make a new array of characters.
In C language what is a 'dangling pointer'?
What is the meaning of this decleration? unsigned char (*pArray[10][10]); please reply.