defer { print("This will always be printed last") } print("Hello, World!") // Output: // Hello, World! // This will always be printed last