0

1- D and 2- D array m loop se value insert karna or wapis retrive karna

1- D and 2- D array m loop se value insert karna or wapis retrive karna

23rd May 2018, 3:37 PM
Mahendra Kumar
Mahendra Kumar - avatar
7 odpowiedzi
24th May 2018, 2:09 AM
‎ ‏‏‎Anonymous Guy
+ 1
int a=0, arr[12] while(a!=10) { cin >> arr[a]; //input a++; } a=0 while(a!=0) { cout << arr[a]; //output a++; }
23rd May 2018, 3:41 PM
‎ ‏‏‎Anonymous Guy
0
But how
23rd May 2018, 3:48 PM
Mahendra Kumar
Mahendra Kumar - avatar
0
Doesn't
23rd May 2018, 4:00 PM
Mahendra Kumar
Mahendra Kumar - avatar
0
Chek your answer some mistakes
23rd May 2018, 4:01 PM
Mahendra Kumar
Mahendra Kumar - avatar
0
His code should work fine if you insert the missing semicolons and fix the loop conditions. Maybe you would get answers that you‘d find more satisfying if you asked your question in a coherent manner
23rd May 2018, 4:55 PM
Max
Max - avatar
0
Input kya de
23rd May 2018, 4:55 PM
Mahendra Kumar
Mahendra Kumar - avatar