Write a program to produce the following output:
1
2
3
4
5
6
7
8
9
10

Answer Posted / jjh

0
1 0 1
2 1 0 1 2
3 2 1 0 1 2 3
4 3 2 1 0 1 2 3 4
5 4 3 2 1 0 1 2 3 4 5

Is This Answer Correct ?    8 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c language & why it is used?

568


What is a char in c?

546


How to delete a node from linked list w/o using collectons?

2081


Describe newline escape sequence with a sample program?

635


What are identifiers and keywords in c?

558






Are pointers really faster than arrays?

552


What is infinite loop?

617


write a program to concatenation the string using switch case?

1547


Can static variables be declared in a header file?

606


How variables are declared in c?

557


Tell me the use of bit field in c language?

614


Is c object oriented?

528


What is the use of bitwise operator?

676


write a program to generate address labels using structures?

3996


Can you please explain the scope of static variables?

590