On Thursday, 19 November 2020 at 00:07:12 UTC, Dibyendu Majumdar wrote: > int function() fp = test; This tries to *call* the function test and assign its return value to fp. You want &test to get the address.