write a program to add two numbers of any size.....(remember
any size)



write a program to add two numbers of any size.....(remember any size)..

Answer / guest

main()
{
int a,b,c;
malloc(a),malloc(b);
scanf("%d %d",&a,&b);
c=a+b;
printf("%d %d",&a,&b);
}

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More C Interview Questions

what is the difference between const volatile int i & volatile const int j;

2 Answers   HCL,


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

0 Answers  


how to add numbers without using arithmetic operators.

14 Answers   TCS,


What are keywords c?

0 Answers  


#define MAX(x,y) (x) > (y) ? (x) : (y) main() { int i = 10, j = 5, k = 0; k = MAX(i++, ++j); printf("%d %d %d", i,j,k); } what will the values of i , j and k? }

14 Answers   CDAC, GATE, NDS, TCS,


How can you check to see whether a symbol is defined?

0 Answers  


Difference between MAC vs. IP Addressing

0 Answers  


how to find binary of number?

2 Answers  


How can we allocate array or structure bigger than 64kb?

2 Answers   CSC,


What are the disadvantages of a shell structure?

0 Answers  


how to reverse string "Hello World" by using pointers only. Without any temp var

1 Answers  


What is the difference between c and python?

0 Answers  


Categories