Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
If the purpose of the function is to create a string and assign the string to a variable, would the function be declared as string functionName () ?
1 Réponse
+ 1
The function would probably be declared as
void functionName() , because the function would be declared with void regardless of the parameter being string or int or float.