how to find sum of digits in C?
Answers were Sorted based on User's Feedback
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 |
what is the use of #pragma pack, wer it is used?
What is the best way to store flag values in a program?
what does keyword ‘extern’ mean in a function declaration?
what is meant by c
Is c still relevant?
What are the modifiers available in c programming language?
How can I find out if there are characters available for reading?
What is the difference between strcpy() and memcpy() function in c programming?
What is the use of void pointer and null pointer in c language?
how to find string length wihtout using c function?
write a own function for strstr
write a programme that inputs a number by user and gives its multiplication table.