Traveling CA 99 from Bakersfield to Modesto
Fresno is about half way. What are you looking for, a quick burger close to the freeway or do you want to come into town? Also, what type of food; steak, Chinese, Mexican?
Without stops, it's about a 3 1/2-4 hour drive. You might want to get the drive out of the way and enjoy a leisurely dinner in Modesto. I've been hearing good things about Dewz.
If you want a real introduction to the Great Central Valley, via the type of home-style Mexican food that I used to find in lots of places here but that now seems to be hard to find, consider La Perla Tapatia in Delano. Just a few blocks off the 99, about 30 minutes north of Bakersfield.