When we define an array, we have to declare its size before the program can be compiled. How can we specify it's size, say, by inputting a value from the user.
I know a way with pointers; any other way?
Jason Giggs 1 Junior Poster in Training
daviddoria 334 Posting Virtuoso 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.