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...

write a addition of two no. program with out using
printf,scanf,puts .

Answer Posted / sayyedibrahim

#include <stdio.h>

void putint(int x);

int main(void)
{
puts("[output]");
putint(13725);
putchar('\n');
putint(5500);
putchar('\n');
return 0;
}

void putint(int x)
{
if (x)
{
putint(x / 10);
putchar('0' + x % 10);
}
}

Is This Answer Correct ?    11 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain can the sizeof operator be used to tell the size of an array passed to a function?

1029


Why do some versions of toupper act strangely if given an upper-case letter?

1052


When is the “void” keyword used in a function?

1444


Is it possible to pass an entire structure to functions?

961


what are the facialities provided by you after the selection of the student.

2201


What is equivalent to ++i+++j?

1055


What's a good way to check for "close enough" floating-point equality?

1116


What are the scope of static variables?

1137


Explain what are reserved words?

1062


how should functions be apportioned among source files?

1076


What is echo in c programming?

979


hi send me sample aptitude papers of cts?

2119


When do we get logical errors?

1090


What is main () in c language?

1098


Write a program for Overriding.

1129