triangle number finding program...
Answer / sevak.yatrik777
#include<stdio.h>
#include<conio.h>
main()
{
int n,i,j;
clrscr();
printf("enter the number");
scanf("%d",&n);
for(i=1;i<=n;i++)
{
for(j=1;j<=i;j++)
printf("%d",j);
printf("\n");
}
getch();
}
Read more:
http://wiki.answers.com/Q/C_program_to_generate_parkside%27s_triangle_numbers#ixzz1M2ugMMU6
| Is This Answer Correct ? | 1 Yes | 0 No |
Why doesnt the call scanf work?
What is static and volatile in c?
application of static variables in real time
What are the benefits of organizational structure?
Mention four important string handling functions in c languages .
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
What does c in a circle mean?
though sbi was nationalized why its not comes under nationalized banks and its comes under publicsector banks
3 Answers State Bank Of India SBI,
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
Define circular linked list.
What are dangling pointers? How are dangling pointers different from memory leaks?
write a program to arrange the contents of a 1D array in ascending order