Hello, Pardon me, its a pure question of C/C++ not specific to Visual C++. Can anybody explain what is the purpose of following code: void Function1(int a, int b) { void Function2(int c, int d, int e); // in some header file void Function3(int c, int d, int e); // in some header file int i, k, l; //rest of the code in which Function2 and Function3 are being used! } I have no idea why "Function2" & "Function3" prototypes are defined in the function named "Function1", and is it possible? If yes whats the logic behind it? Any help is highly appreciated. Regards, Adeel
Do rate the reply, if it helps or even if it doesnot, because it helps the members to know, what solved the issue. Thanks.