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
What do the functions atoi(), itoa() and gcvt() do?
I need testPalindrome and removeSpace
#include
Why is main function so important?
What is the purpose of void pointer?
What standard functions are available to manipulate strings?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
Describe static function with its usage?
Write a program to find the biggest number of three numbers in c?
Can you add pointers together? Why would you?
What are the scope of static variables?
How can I write a function analogous to scanf?
What language is windows 1.0 written?
What is the use of #define preprocessor in c?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is static volatile in c?