Submitted Questions

  • sum 0f 2 64 bits using 32 bits

    Hi,the question is you have cpu that knows to docomputations on 32 bits(unsigned integer).write a function that find the sum of 2 64 bits numbers using this cpu?there is a struct:typedef struct{ int low;(32 bits) int high;(32 bits)}64bit;

    devendra

    • Aug 17th, 2011

    well this can be done in any number of ways... One simple way is to use asm keyword and write assembly instructions if you are familiar with assembly language.. Because through assembly language we ca...

    amodiahs

    • Jul 24th, 2008

    Hello friends, Here we need to use a linked list. See, it is already known that CPU doesnot support one single 64bit number hence, first thing is that using normal data types will be useless. So here ...