w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Nested Array of Structs inside another Struct

Your program is dependent on the order of the command line arguments.

-E is needed to set the global variable 'E'. But -s will call MallocAndInitialize which reads E.

This is not a good organization of your code.

I'd suggest moving MallocAndInitialize out of the loop that processes the arguments.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.