How to add two numbers without using arithmetic operators?
Answer Posted / ranjith
#include<stdio.h>
main()
{
int a=5,b=4,c;
c=a||b;
printf("sum="+c);
}
| Is This Answer Correct ? | 2 Yes | 21 No |
Post New Answer View All Answers
Is it possible to execute code even after the program exits the main() function?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
What is the purpose of clrscr () printf () and getch ()?
Explain the priority queues?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
Explain how can I prevent another program from modifying part of a file that I am modifying?
how to write a c program to print list of fruits in alpabetical order?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
Function calling procedures? and their differences? Why should one go for Call by Reference?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
What is array of structure in c?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Are the variables argc and argv are local to main?
Is a pointer a kind of array?
Is null always defined as 0(zero)?