Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to add numbers without using arithmetic operators.

Answer Posted / srikanth

int main()
{
int a=3,b=5;
printf("
%d
",printf("%*c%*c",a,' ' ,b,' '));
}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define Spanning-Tree Protocol (STP)

1078


How can I find out if there are characters available for reading?

1078


What is clrscr ()?

1069


How do I get an accurate error status return from system on ms-dos?

1088


Which type of language is c?

1034


Why does everyone say not to use scanf? What should I use instead?

1384


write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.

2486


Does sprintf put null character?

998


Describe newline escape sequence with a sample program?

1082


What are variables and it what way is it different from constants?

1205


using only #include and #include Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string. Sample Test: Enter a string: madam madam is a palindrome. Enter a string: 09023 09023 is not a palindrome.

1784


Differentiate between new and malloc(), delete and free() ?

1150


What are the types of functions in c?

944


What is the use of extern in c?

1065


Simplify the program segment if X = B then C ← true else C ← false

2973