What happens when the following code segment is Validated? int x = 20; Int main() { int x ; x = 10 ; return x ; }
Complies Successfully
Error Due to Duplicate Variables.
RunTime Error
Executes Successfully