what does int temp = arr[0], i; in c++ mean? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

what does int temp = arr[0], i; in c++ mean?

temp is assinged to which value...??

13th Aug 2019, 6:18 AM
Utkarsh Dhiman
Utkarsh Dhiman - avatar
1 ответ
+ 3
After the declaration, 'temp' will have the value of the first element inside the array 'arr', and 'i' will be an uninitialized integer.
13th Aug 2019, 6:57 AM
Shadow
Shadow - avatar