Can an aircraft flying VFR with a squawk code enter adjacent class C or D airspace after being handed over to the destination tower?
Trust, but verify.
The pilot must comply with 91.129 and 91.130 unless otherwise instructed by ATC.
ATC of any kind (radar or tower, Class C or Class D) should coordinate with any affected tower if an aircraft they are providing services to will enter another facility's surface area airspace. At least that's how I read the 7110.65 2–1–16, which you will note is in the &quot;General Control&quot; section and not the &quot;Radar&quot; section... though the wording definitely implies that it's directed at radar controllers.
The radar controller should have coordinated with the Class C tower (if necessary) and Class D tower controllers before switching the pilot to the destination Class D tower controller, if they expected the pilot would have to enter the respective surface areas. The destination Class D tower controller should have coordinated with the other tower controllers, if they expected the pilot to enter those surface areas. If coordination was not effected, they should not issue instructions which would imply permission to enter the other surface areas.
The pilot should query whichever controller they happen to be talking to, and follow the instructions they receive (&quot;proceed through the XXX Class Delta airspace&quot; or &quot;remain outside of XXX Class Delta airspace&quot;).