/* ***********************************************
Write a program to sum of entered number
date:07-06-2019
created by:ANIL DURGAM
*****************************************************/
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,sum=0;
do{
printf("enter a number(0 to stop)\n");
scanf("%d",&a);
sum+=a;
}while(a!=0);
printf("sum is =%d\n",sum);
return 0;
}
out put::
Note:
please send the questions which you are facing problem in C Language.
also write interview questions which are you faced in during interview related to C Language.
so i can try to solve them and send you back.