0 votes 0 votes Can structure be defined after function declaration and before main? A_i_$_h asked Jun 15, 2017 A_i_$_h 209 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 1 votes 1 votes yes this is possible . the structure defined outside of main and other method body will be treated as global variable. Hence it can also be used by the function declaration defined before it . Satyajeet Singh answered Jun 15, 2017 • selected Jun 15, 2017 by A_i_$_h Satyajeet Singh comment Share Follow See 1 comment See all 1 1 comment reply A_i_$_h commented Jun 15, 2017 reply Follow Share Thank you :) 0 votes 0 votes Please log in or register to add a comment.