Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
Variable initialization in c++
I know that in C you need to initialize while declearing. Does it also apply to c++?
1 Réponse
+ 1
No. You don't need to.
You only initialize a variable if the next immediate action you take on that variable is reading the value it contains.