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

How would you find a cycle in a linked list?

3 Answers   NSN,


Do array subscripts always start with zero?

0 Answers  


What are pointers? What are different types of pointers?

0 Answers   Fidelity,


what is the purpose of the code, and is there any problem with the code? int f( int n, int l, int r ) { return (n << l) >> r; }

2 Answers   Google,


What character terminates all strings composed of character arrays? 1) 0 2) . 3) END

3 Answers  


What does the error message "DGROUP exceeds 64K" mean?

0 Answers   Celstream,


What are 3 types of structures?

0 Answers  


write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.

0 Answers  


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2 Answers   Subex, Wipro,


how to return 1000 variables from functio9n in c?plz give me code also

6 Answers  


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

0 Answers  


What is s or c?

0 Answers  


Categories