You are not logged in.

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

hasnain
Administrator
From: Chichawatni
Registered: 2014-10-13
Posts: 8,355
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


Failure is the first step towards seccess.

2015-09-12 06:01:05

Advertisement
Ads By Google

Re: Pointer Declaration:



\n

Board footer