×

# Print upper triangular matrix

Write an efficient algorithm to print upper triangular matrix in 2d array.

For example.

View matrix in array form

Program to display upper triangular matrix in c. Time complexity O(row*col).

**Output**

View process.

Submit your solution in comment section.

#### Recommended Posts:

- Dynamic allocation of array in c
- C program to count frequency of each element in an array
- Single linked list check identical linked lists
- Move the first node at end of given linked list
- Delete last node from given linked list
- Find second last element in linked list
- Get element at specific index of linked list
- Print fibonacci of given n number

View comments and participate Discussion