Arista Networks interview question

How printf works, regarding stack pointers (assembly)