#include <iostream> using namespace std; void f(int (&a)[11]) { cout << sizeof(a) << endl; } int main() { int a[10]; cout << sizeof(a) << " "; f(a); return 0; }
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment