int validMarks[5] = {2, 3, 4, 5, 6} ;
int validMarks[] = {2, 3, 4, 5, 6} ;
const int validMarks[] = {2, 3, 4, 5, 6} ;
#include <iostream>
using namespace std ;
main ()
{ const int validMarks[] = {2, 3, 4 , 5, 6} ;
for (int k=0; k<5; k++)
std::cout <<validMarks[k] <<'\t' ; }
Какво отпечатва програмата? Защо?