answersLogoWhite

0


Best Answer

Initialization. Hint: your compiler might warn you, neverignore warnings if you aren't absolutely sure what they mean.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you avoid garbage values in c plus plus programs?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the application of c plus plus?

Writing programs in it.


How is garbage collection done in c plus plus?

Garbage collection is used to released resources which were previously used by the application(s) which is called garbage collector. Garbage collection allows to prevent memory leaks which are the main problem of old style of programming.


What are the application of c plus plus plus plus language?

Writing computer-programs in it.


Can all C programs are executable in C plus plus?

Some C programs can be compiled in C++, yes.


Which are the best softwares used for doing c plus plus programs?

The best programs are written by humans, not by softwares.


Can you make programs of C in visual c plus plus?

Yes.


How calculate the average scored by student for is subject in c plus plus program?

Put all the values in an array, iterate through the array with a for loop, sum all the values, then divide by the count of the values.


Can be there number of catch and try block in c plus plus programs?

Yes.


What are the disadvantages of lengthier c plus plus computer programs?

The source files take a longer time to compile, and reading and maintaining such programs is harder.


C plus plus Programs that operate close to the hardware and are speedy are?

Device drivers.


What is answers z plus y plus x?

That depends on the values of 'z', 'y', and 'x'.


How can you tell if the sum of 13 plus 45 plus 24 plus 17 is even or odd?

If the number (count) of odd values to sum is odd, then the answer is odd.If the number (count) of odd values to sum is even, then the answer is even.