1The ________ of a variable is where that variable can be used. (one word)
2Write the code to return the dynamic memory pointed to by p1 to
the freestore (heap).
3Write the code to declare a dynamic array of strings (use the
string pointer variable p1) that
has as many elements as the variable arraySize.
4If you use the const modifier in a function declaration, you do
not include it in the function
definition.
4.)To make a function const we have to add "const" keyword in
front of it .
whenever a const is added in front of any function it will not
allow you to modified the function
it is compulsory to include const keyword or function in defining
the function because it is the function definition which define the
actual body of the function to the compiler
example
int data() -> it define that the function is of int type.
IF YOU HAVE ANY DOUBT RELATED TO QUESTION LEAVE A COMMENT
Get Answers For Free
Most questions answered within 1 hours.