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 |
What is structure padding ?
Is there something we can do in C but not in C++? Declare variable names that are keywords in C++ but not C.
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
What is declaration and definition in c?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?
What is the most efficient way to count the number of bits which are set in an integer?
What is the meaning of ?
write a code for large nos multilication (upto 200 digits)
In cryptography, you could often break the algorithm if you know what was the original (plain) text that was encoded into the current ciphertext. This is called the plain text attack. In this simple problem, we illustrate the plain text attack on a simple substitution cipher encryption, where you know each letter has been substituted with a different letter from the alphabet but you don’t know what that letter is. You are given the cipherText as the input string to the function getwordSets(). You know that a plain text "AMMUNITION" occurs somewhere in this cipher text. Now, you have to find out which sets of characters corresponds to the encrypted form of the "AMMUNITION". You can assume that the encryption follows simple substitution only. [Hint: You could use the pattern in the "AMMUNITION" like MM occurring twice together to identify this]
What is the difference between far and near ?
Why double pointer is used in c?