Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

What is the output? #include <iostream> using namespace std; int main() { int t,c=0; while(cin>>t) c++; cout<<c<<endl; return 0; }

user-image
Question ajoutée par Mohammad Zia Khan , Staff Engineer , Nagarro Software Pvt Ltd
Date de publication: 2016/09/07
mohsin sharif
par mohsin sharif , iOS Developer , PMAS BIIT Arid Agriculture University

its depend on user inputs, it will display the numbers of time user gives the input when you terninate the while loop with / it will print how many time you gives the input

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?