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
What is %g in c?
How #define works?
What is maximum size of array in c?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Write a factorial program using C.
what are bit fields in c?
How are structure passing and returning implemented?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
write a program to create a sparse matrix using dynamic memory allocation.
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
What happens if header file is included twice?
Why is c called c?
How can you tell whether a program was compiled using c versus c++?
What is malloc return c?