CPP-Programs- icon indicating copy to clipboard operation
CPP-Programs- copied to clipboard

Chocolate Feast: Improper Initialization of Variables

Open shrivalidutt opened this issue 1 year ago • 0 comments

The variable a is declared but never used. Also, initializing count{} is fine, but using int count = 0; is more common for readability. Similarly, x could be initialized when declared.

shrivalidutt avatar Oct 16 '24 18:10 shrivalidutt