Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 3
how to create constant arrays ? c++
3 Réponses
+ 7
This creates a constant int array.
const int num[] {10,20,30,40,50};
+ 4
syntax:-
const variable_type array_name[size] = {array _ elements};
+ 1
With the help of const keyword