You are not logged in.

#1 2015-09-12 06:21:34

husnain
User RankUser RankUser RankUser RankUser RankUser Rank
Administrator
From: Chichawatni,Pakistan
Registered: 2014-10-03
Posts: 8,129
Website

Value Pointed:

C Programming Quizzes C Language Pointer

Question:
Comment on the following?
const int *ptr;

Option A):
We cannot change the value pointed by ptr.
Option B):
None
Option C):
We can change the pointer as well as the value pointed by it
Option D):
We cannot change the pointer ptr itself

Correct Answer is Option A):
We cannot change the value pointed by ptr.


You cannot discover the new oceans unless you have the courage to lose the sight of the shore.

2015-09-12 06:21:34

Advertisement
Ads By Google

Re: Value Pointed:



Board footer