Page 1 of 1

Part A When passing a C-style string as a parameter to a function - is the parameter passed by reference or default? Par

Posted: Tue Jul 12, 2022 8:20 am
by answerhappygod
Part A
When passing a C-style string as a parameter to a function - isthe parameter passed by reference or default?
Part B
When allocating the size of a C-style string, assume you want tostore the string, "Hello, World!". What is the minimum size of thestring you would need to allocate. Show how you would declare thestring.