Answer Posted / 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 |
Post New Answer View All Answers
Who developed c language and when?
Explain how can you avoid including a header more than once?
What are categories used for in c?
Explain main function in c?
What do you mean by dynamic memory allocation in c? What functions are used?
What is file in c language?
Where in memory are my variables stored?
What is call by value in c?
write a sorting prgm to sort 50 nos and sum them and also remove all the occurrences of 15 and print it?
Does c have circular shift operators?
Why isn't it being handled properly?
write a proram to reverse the string using switch case?
Differentiate between Macro and ordinary definition.
Why we use int main and void main?
What are pointers? What are different types of pointers?