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?

Answers were Sorted based on User's Feedback



how to find sum of digits in C? ..

Answer / 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

More C Interview Questions

What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

0 Answers   Aspire, Infogain,


write a program in reverse the string without using pointer,array,global variable declaration,lib fun only using a function?

5 Answers   HCL,


main() { char *p1="Name"; char *p2; p2=(char *)malloc(20); while(*p2++=*p1++); printf("%s\n",p2); } what is the output?

7 Answers   AMCAT, HCL, Ramco, Zycus Infotech,


How important is structure in life?

0 Answers  


What kind of structure is a house?

0 Answers  


Compare array data type to pointer data type

0 Answers  


why we shiuld use main keyword in C

5 Answers  


Difference between constant pointer and pointer to a constant.

0 Answers   Huawei,


What are identifiers in c?

0 Answers  


What are the characteristics of arrays in c?

0 Answers  


How can you tell whether two strings are the same?

0 Answers  


write c program to display output 10(10+20)+(10+20+30)+ ... n term

0 Answers   Hindustan Gum Chemicals,


Categories