What is the real difference between arrays and pointers?

Answer Posted / santosh

array is refered directly to the elements.
but in pointers we refers to address of the elements but not
elements . indirect calling of the elements.

Is This Answer Correct ?    155 Yes 26 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the preprocessor categories?

641


What are register variables? What are the advantage of using register variables?

689


What is difference between array and structure in c?

583


What are pointers really good for, anyway?

621


Is it valid to address one element beyond the end of an array?

677






I need a sort of an approximate strcmp routine?

663


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

2725


What is a spanning Tree?

962


Explain about the functions strcat() and strcmp()?

601


What is the collection of communication lines and routers called?

615


find the sum of two matrices and WAP for it.

638


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

1921


Explain how are 16- and 32-bit numbers stored?

787


i want to know the procedure of qualcomm for getting a job through offcampus

1945


What is methods in c?

649