write a program whose output will be-
1
12
123
1234
Answer Posted / ck
#include<stdio.h>
void main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=1;j<=i;j==)
{
printf("%d ",j);
}
printf("/n");
}
getch();}
| Is This Answer Correct ? | 4 Yes | 10 No |
Post New Answer View All Answers
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
difference between Low, Middle, High Level languages in c ?
Why is c called a structured programming language?
Write a program to swap two numbers without using third variable?
Why is c known as a mother language?
What is volatile, register definition in C
What is a pragma?
Difference between Shallow copy and Deep copy?
How can my program discover the complete pathname to the executable from which it was invoked?
What are extern variables in c?
write a program to print largest number of each row of a 2D array
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
Subtract Two Number Without Using Subtraction Operator
What is dynamic memory allocation?