int *a[5] refers to
Answers were Sorted based on User's Feedback
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 |
Answer / ravi saini
Array of pointers...Points the integer values
Is This Answer Correct ? | 9 Yes | 1 No |
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 |
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 |
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 |
Answer / fazlur rahaman naik
5th element in an array of integer pointers.
Is This Answer Correct ? | 4 Yes | 10 No |
Is it possible to have a function as a parameter in another function?
how will you write a program on linked lists using JAVA programming???????????
Difference between linking and loading?
Can we assign string to char pointer?
Is c is a high level language?
What is uint8 in c?
Write a C program to get the desired output. 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 . . . 1 n..............n 1 Note: n is a positive integer entered by the user.
How we add our function in liabrary as liabrary function. Exp. we want use our int factorical(int); function as int pow(int,int); function working in math header file.
what is a NULL pointer?
Is r written in c?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
Why isn't it being handled properly?