sir i wanted to know how we wap in c to add numbers without
using arithmetic operator in which digits are entered by
user?
Answer Posted / sheshivardhan reddy.rayala
using aadd()function we can add the arguements without
using arithmetic operator
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Do character constants represent numerical values?
What is the use of pragma in embedded c?
What is the code in while loop that returns the output of given code?
C program to find all possible outcomes of a dice?
What are variables and it what way is it different from constants?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
Here is a neat trick for checking whether two strings are equal
What is array of pointers to string?
What is pointers in c with example?
Differentiate fundamental data types and derived data types in C.
Are pointers integers in c?
What are the advantages of using new operator as compared to the function malloc ()?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?