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 |
How would you find a cycle in a linked list?
Do array subscripts always start with zero?
What are pointers? What are different types of pointers?
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; }
What character terminates all strings composed of character arrays? 1) 0 2) . 3) END
What does the error message "DGROUP exceeds 64K" mean?
What are 3 types of structures?
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.
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)
how to return 1000 variables from functio9n in c?plz give me code also
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
What is s or c?