what is the difference between a secant and a chord code example

Example 1: what is the difference between a secant and a chord

a Secant is a line(which extends to infinity after intersecting through 2 
points of the circle).
a Chord is a line segment from one point on the circle to any other
point on the circle.
see Sources below

Example 2: what is the difference between a secant and a chord

a Secant is a line(which extends to infinity after intersecting through 2 
points of the circle).
a Chord is a line segment from one point on the circle to any other
point on the circle.
see Sources below

Tags:

Cpp Example