How many bytes of memory is allocated when you declare: double* p1[10];
wschamps42 0 Newbie Poster
Recommended Answers
Jump to PostAt a minimum, 10xsizeof(double*). The size of a pointer depends upon whether you are running in 32-bit or 64-bit mode. The easy way to tell is to execute the function/macro
sizeof(p1)
.
All 3 Replies
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
wschamps42 0 Newbie Poster
Banfa 597 Posting Pro Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.