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 find sum of digits in C?

Answer Posted / neha khurana

#include<stdio.h>
#include<conio.h>

void main()
{
int x,y;
clrscr();

printf("\nEnter the value of any two numbers to be
added\n");
scanf("%d%d",&x,&y);

x=x+y;
printf("%d",x);
getch();
}

Is This Answer Correct ?    19 Yes 55 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you subtract pointers from each other? Why would you?

915


Explain what is meant by 'bit masking'?

1119


Why we not create function inside function.

2141


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

1953


What do mean by network ?

1101


Write a program to know whether the input number is an armstrong number.

1072


Difference between goto, long jmp() and setjmp()?

1123


How many loops are there in c?

1046


What is pivot in c?

973


Linked lists -- can you tell me how to check whether a linked list is circular?

1031


How macro execution is faster than function ?

1131


Difference between macros and inline functions? Can a function be forced as inline?

1200


shorting algorithmS

2196


difference between object file and executable file

6640


How pointer is different from array?

1017