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 is pointer in c?
What are # preprocessor operator in c?
What is the difference between union and anonymous union?
Write a program for Overriding.
How to declare a variable?
Explain what is the difference between null and nul?
What are control structures? What are the different types?
What is #line used for?
Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.
Explain what is the difference between functions getch() and getche()?
Explain how to reverse singly link list.
What is indirection in c?
What is an arrays?
What is a stream?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321