One language that had a big impact on my code style is Pascal. Over the ages, I have used C/C++, Java, BASIC, Pascal, Python, Pearl, assembly, Lisp, and Fortran. Of them all, my favorite is Java.
C was the most frustrating, not because of the language itself exactly, but because I wrote a lot of C code on DOS machines, and DOS didn't have protected memory. That means you could have a pointer go astray, and your program wouldn't crash where the error was, but somewhere completely different, like in a printf statement or somewhere else in memory. It made it a pain in the arse to debug.
The worst was when I was writing some neural-network code in C on a DOS machine. I made a holy vow never to program for DOS again and switched to OS/2. That was in the days when Windows was still a horrible mess on top of DOS, and Unix was expensive and complicated on Intel machines.
I loved OS/2. But then Microsoft successfully strangled it in the war between OS/2 and Windows NT (which initially was a quite a piece of crap compared to OS/2). I ended up switching to Windows 95 after enough service packs made it usable.