C How Can I Simulate A Nested Function Without Lambda Expressions

C How Can I Simulate A Nested Function Without Lambda Expressions