What is the purpose of the spanning-tree algorithm in a switched LAN?()
A、To provide a monitoring mechanism for networks in switched environments.
B、To manage VLANs across multiple switches.
C、To prevent switching loops in networks with redundant switched paths.
D、To segment a network into multiple collision domains.
E、To prevent routing loops in networks.