argv

André Albergaria Coelho andre1coelho@outlook.com
Mon Jan 1 03:28:39 GMT 2024


Why is the content of argv, on the stack? why not on data section?

since its on the stack..say, i have

argv[] = "HELLO WORLD";

need to push "HELL"

               push "O WO";

                 push "RLD";

right? or is there any other mechanism to load the string into the stack?

sorry if this is too basic....

andre

-- 
André Albergaria Coelho
andrealbergaria@gmail.com



More information about the Gcc mailing list