Answer Posted / guest
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{clrscr();
int a,i,r=0;
scanf("%d",&a);
for(i=a;i>0;i--)
r=r-9;
r=abs(r);
printf("%d",r);
getch();
}
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are the difference between a free-standing and a hosted environment?
What is string function in c?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
Explain what is the most efficient way to store flag values?
What is the acronym for ansi?
program to convert a integer to string in c language'
What is difference between scanf and gets?
What is a stream water?
Where does the name "C" come from, anyway?
Write a program to find the biggest number of three numbers in c?
What is function prototype in c language?
Explain what is the concatenation operator?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
write a program to create a sparse matrix using dynamic memory allocation.
What are nested functions in c?