You are not logged in.

#1 2015-09-12 06:01:02

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

Pointer Declaration:

C Programming Quizzes C Language Pointer

Question:
Comment on the following pointer declaration?
int *ptr, p;

Option A):
ptr and p, both are pointers to integer
Option B):
ptr and p both are not pointers to integer
Option C):
ptr is a pointer to integer, p is not
Option D):
ptr is pointer to integer, p may or may not be

Correct Answer is Option C):
ptr is a pointer to integer, p is not


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

2015-09-12 06:01:02

Advertisement
Ads By Google

Re: Pointer Declaration:



Board footer