Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


int *a[5] refers to

Answers were Sorted based on User's Feedback



int *a[5] refers to..

Answer / vikesh

int *a[5] means that there are 5 integer pointers[which
store adresess of only integers] whose adresses are in
continous locations and each pointer name is accesed by *a
[0],*a[1]....*a[4].for example
a[0]=n means a[0] points to n, a[1]=p means a[1] points to
p.[where n and p are integers]Let the adress of n and p be
some 625 and 254 respectively. then a[0] will hold 625
whose adress is(assume)1000 and a[1]will hold 254 whose
adress is 1002.similarly the a[2] will hold some adress(if
u make it to point) with its adress 1004 and a[3] will hold
some others adress with its adress 1006 and a[4] will hold
some others adress with its adress 1008.

Is This Answer Correct ?    26 Yes 1 No

int *a[5] refers to..

Answer / nagi

array of pointers

Is This Answer Correct ?    15 Yes 4 No

int *a[5] refers to..

Answer / ravi saini

Array of pointers...Points the integer values

Is This Answer Correct ?    9 Yes 1 No

int *a[5] refers to..

Answer / vignesh1988i

it refers to the array of addresses or array of pointers
which can hold a 5 element address of integer type only.....
it allocates 5*2=10 bytes of space.... this 2 dosen't refers
that it is an integer so 2 bytes is multiplied.... since any
data type address is always holds 2 bytes of space in most
of the compilers used,..........

thank u

Is This Answer Correct ?    6 Yes 1 No

int *a[5] refers to..

Answer / ann

its basically a pointer to a pointer

Is This Answer Correct ?    1 Yes 1 No

int *a[5] refers to..

Answer / muthukumar

declearation of one dimensional pointer array having 6
elements like a[0],a[1],a[2],a[3],a[4],a[5].

Is This Answer Correct ?    1 Yes 1 No

int *a[5] refers to..

Answer / shivukumar hiremath

In general array
of pointers..but
we can
say..content of a
of 5(i.e *a[5] we
read and its a
type of int so
that . .the memory
allocated is 4byte
of int and
multiplied with 5
20bytes . .starting
address 4bytes for
pointer variable
a..

Is This Answer Correct ?    0 Yes 0 No

int *a[5] refers to..

Answer / krishna

array of 5 pointers

Is This Answer Correct ?    0 Yes 1 No

int *a[5] refers to..

Answer / valli

a two dimensional array of 5 rows and n columns

Is This Answer Correct ?    2 Yes 7 No

int *a[5] refers to..

Answer / fazlur rahaman naik

5th element in an array of integer pointers.

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More C Interview Questions

what is the most appropriate way to write a multi-statement macro?

1 Answers  


When is the “void” keyword used in a function?

1 Answers  


Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;

2 Answers   Lucent,


what would be the output of the following prog? Justify your answer? main() { unsigned char ch; unsigned char i; ch = -255; printf("%d",ch); i = -1; printf("%d",i); }

1 Answers  


What is the difference between GETS();AND SCANF();

4 Answers   TCS,


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

0 Answers   TCS,


#include<stdio.h> int main( ) { Int a=300, b, c; if(a>=400) b=300; c=200; printf(“%d%d ”, b, c); return0; }

1 Answers  


What are enumerated types?

0 Answers  


which type of question asked from c / c++ in interview.

2 Answers  


how to convert binary to decimal and decimal to binary in C lanaguage

7 Answers   BPO, Far East Promotions, IBM, RBS,


Is fortran faster than c?

0 Answers  


What is the difference between class and object in c?

0 Answers  


Categories