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
Can variables be declared anywhere in c?
program to convert a integer to string in c language'
Define Spanning-Tree Protocol (STP)
What are all different types of pointers in c?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
What is c basic?
How can I generate floating-point random numbers?
What is a pointer on a pointer in c programming language?
What is volatile, register definition in C
What is use of integral promotions in c?
What does the message "automatic aggregate intialization is an ansi feature" mean?
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
What is a good data structure to use for storing lines of text?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above