0

Example in this code ,i know c hold the count but i do not understand it's initialization. is it just short for c = 0?

#include <iostream>
using namespace std;
int main(){
    int n, p, v, t, c(0);
    cin >> n;
    while(n--){
        cin >> p >> v >> t;
        if(p+v+t >=2)
            c++;
    }
} 

0 Answers0