Point out an error in the program.

Point out an error in the program.
#include using namespace std;
int main()
{
const int x=1; int const *y=&x; cout<<*y; return 0; } A. No error
B. Error: unknown pointer conversion
C. cannot convert from ‘const int *’ to ‘int *const’
D. Compilation error

Download Printable PDF. VALID exam to help you PASS.

Posted in: CPA

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.