Add 2 64 bit numbers on a 32 bit machine
Answers were Sorted based on User's Feedback
Answer / ravi
add 32 bit part of each number first and and then other
32 bit part use the carry register as well in the process
| Is This Answer Correct ? | 55 Yes | 3 No |
What does volatile do?
what is the basis for selection of arrays or pointers as data structure in a program
1 1 2 1 2 3 1 2 3 4 1 2 3 1 2 1 generate this output using for loop
How can I do graphics in c?
What is the auto keyword good for?
how to exchnage bits in a byte b7<-->b0 b6<-->b1 b5<-->b2 b4<-->b3 please mail me the code if any one know to rajeshmb4u@gmail.com
print the pattern 1 2 4 3 6 9 4 8 12 16 5 10 15 20 25 if n=5
Why cant I open a file by its explicit path?
Write a C Program to display the following menu: Menu 1. Display 2. Copy 3. Append 4. Exit Accept the choice (1-4) from the user, and perform the following tasks: Choice 1: Accept a file name from the user and display the file on screen Choice 2: Accept two file names, and copy first file to the second Choice 3: Accept two file names, and append second file to the first file Choice 4: Terminate the program
1 Answers Accenture, Concor, DMU, Satyam, Syntel, Tora,
what do you mean by inline function in C?
Write an algorithm for a program that receives an integer as input and outputs the product of of its digits. E.g. 1234 = 24, 705 = 0
#include<stdio.h> int f(int,int); int main() { printf("%d",f(20,1)); return 0; } int f(int n,int k) { if(n==0) return 0; else if(n%2)return f(n/2,2*k)+k; else return f(n/2,2*k)-k; } how this program is working and generating output as 9....?