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 |
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
How do I initialize a pointer to a function?
main() { int i; printf("%d",((i=1)*i-- - --i*(i=-3)*i++ + ++i)); } ans is 24 bt how?pls tell smbody............
write a program to display numbers from 1 to 10 and 10 to 1?
What is the auto keyword good for?
Why does the call char scanf work?
an algorithem for the implementation of circular doubly linked list
What is string concatenation in c?
Explain is it better to bitshift a value than to multiply by 2?
Write a program to use switch statement.
0 Answers Agilent, Integreon, ZS Associates,
Explain how do you list files in a directory?
What is modifier & how many types of modifiers available in c?