main()
{
int i,n=010;
int sum=0;
for(i=1;i<=n;i++)
{s=s+i;
}
printf("%d",&s);
getch();
}
Post New Answer View All Answers
Write a program to find factorial of a number using recursive function.
Write a program to print “hello world” without using semicolon?
What do you mean by c what are the main characteristics of c language?
1.int a=10; 2.int b=20; 3. //write here 4.b=30; Write code at line 3 so that when the value of b is changed variable a should automatically change with same value as b. 5.
What is maximum size of array in c?
Is null always equal to 0(zero)?
What does %p mean?
Write a Program to accept different goods with the number, price and date of purchase and display them
Why is struct padding needed?
5 Write an Algorithm to find the maximum and minimum items in a set of ‘n’ element.
What are the two forms of #include directive?
What is a program flowchart?
What is static memory allocation? Explain
Differentiate between static and dynamic modeling.
how to construct a simulator keeping the logical boolean gates in c