The combination of automated vehicle technology and vehicle-to-vehicle (V2V) communication leads to the advantage of platoon formation with short inter-vehicular distance. While connected and automated vehicle (CAV) platoons are expected to improve roadway capacity and lower fuel consumption, they might cause some challenges for non-platooning vehicles. This study aims to investigate the hypotheses that providing connected vehicle (CV) warning messages regarding the presence of CAV platoons can improve driver behavior and safety. A driving simulator experiment, featuring four configurations (merging without warning, merging with warning, diverging without warning, and diverging with warning) was designed and tested on 70 drivers. In the 'no warning' configurations, drivers encountered CAV platoons without any warning, whereas an audio warning was provided in the 'warning' configurations. The findings revealed that providing the warning led to a 17 % increase in merging behind the platoons, whereas more than 90 % of the drivers diverged behind the platoons irrespective of the warning conditions. Six performance measures including mean speed, maximum deceleration, speed standard deviation (SD), acceleration SD, minimum time-to-collision (mTTC), and merging/diverging time were modeled using generalized linear models. The results indicated lower merging and diverging time when provided with warning. Additionally, safety improvement during merging was observed in terms of about 20 % higher mTTC. Safety improvement during diverging was reflected through lower maximum deceleration, speed SD, acceleration SD, and around 5 % higher mTTC. Moreover, female and younger drivers behaved more safely in the 'warning' configurations. These results provide insights for planning authorities and auto manufacturers on the usefulness of CV warnings about CAV platoons in improving driver behavior and traffic safety.