#include <stdio.h>
namespace {
int i=10;
printf("%d,",i);
}
int main()
{
printf("%d\n",i);
return 0;
}
------------------------------ --
What will be the output ?!
A. 10
B. 10 , 10
C. Compiler error
namespace {
int i=10;
printf("%d,",i);
}
int main()
{
printf("%d\n",i);
return 0;
}
------------------------------
What will be the output ?!
A. 10
B. 10 , 10
C. Compiler error