What is the real difference between arrays and pointers?

Answer Posted / nagendra kumar

pointer is dependent variable
array is not a dependent variable
array is a constant pointer type it is sequence of variables

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I open files mentioned on the command line, and parse option flags?

597


what are the 10 different models of writing an addition program in C language?

1443


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1637


What is the difference between variable declaration and variable definition in c?

566


to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?

1575






What are the string functions? List some string functions available in c.

609


what is the significance of static storage class specifier?

1667


How can I split up a string into whitespace-separated fields?

573


What is a MAC Address?

633


Define macros.

787


What is a null pointer in c?

602


What are the different types of linkage exist in c?

615


What are the types of pointers?

608


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

663


Can you explain the four storage classes in C?

646