Latest Answer : Arrays have to difine with fixed size it will not grow dynamically , vector size can be increased bydynamically and vectors are synchronized.yaa always right.vector is a standard template library in C++. Vector size can be increased dynamically and stores ...
Latest Answer : Auto variables are stores in the Stack . ...
Where does global, static, local, register variables, free memory and C Program instructions get stored?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
Latest Answer : Sorry, it is not same because arr stores the value where as &arr is the address of that value. ...
Latest Answer : yes, by mentioning the name of array we get the base address of the array ...
Latest Answer : ptr=realloc(ptr,newsize);This function allocates a new memory space of size newsize to the pointer variable ptr and returns a pointer to the first byte of the new memory block.The new size may be smaller or larger than the size.If the function ...
Latest Answer : Create a new array and copy the old one in it. ...
How do you declare the following:
An array of three pointers to chars
An array of three char pointers
A pointer to array of three chars
A pointer to function which receives an int pointer and returns a float pointer
A pointer to a function which receives nothing and returns nothing