In many fanfics where Captain America dies in Infinity War, it could be a very emotional scenario. Some fanfics might focus on how the other Avengers react to his death. For example, Iron Man could be filled with regret for not being there to save him. The team's morale would surely take a huge hit, and they might struggle to find the motivation to continue fighting Thanos.
In the Infinity War comics, Captain America didn't meet his end. The comic plot was more complex and diverse, and his fate was shaped by various factors that differed from the cinematic portrayal.
Captain America survives in the Infinity War comics. The storyline doesn't include his death. Usually, major characters like him have plotlines that keep them going for future developments.
In the Infinity War comics, Captain America doesn't have a death scene. The comic version has its own unique plot developments and character arcs that are distinct from the movie adaptation.
Another ending could be a more tragic one. With Captain America's death, the Avengers lose their moral compass. They become disorganized and are ultimately defeated by Thanos. This would show the huge impact Cap had on the team.