Answer Posted / rohit
#include<stdio.h>
int main()
{
int n,sum=0;
printf("enter number");
scanf("%d".&n);
for(int i=0;i<5;i++)
{
sum=sum+n;
}
printf("sum is %d",sum);
return 0;
}
Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
Explain void pointer?
Is it possible to pass an entire structure to functions?
How many data structures are there in c?
What is wrong in this statement?
What is array of structure in c?
What is pointer and structure in c?
What are the disadvantages of external storage class?
What is 02d in c?
Can we use any name in place of argv and argc as command line arguments?
What are the main characteristics of c language describe the structure of ac program?
Is there sort function in c?
What is sizeof c?
What is the difference between procedural and declarative language?
Write a function that will take in a phone number and output all possible alphabetical combinations
How can you check to see whether a symbol is defined?