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

how to build a exercise findig min number of e heap with list imlemented?

1870


Write a program to maintain student’s record. Record should not be available to any unauthorized user. There are three (3) categories of users. Each user has its own type. It depends upon user’s type that which kind of operations user can perform. Their types and options are mentioned below: 1. Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record) 2. Super Admin (Search Record [by Reg. No or Name], View All Records, Insert New Record, Modify Existing Record, Delete Single Record) 3. Guest (Search Record [by Reg. No or Name], View All Records) When first time program runs, it asks to create accounts. Each user type has only 1 account (which means that there can be maximum 3 accounts). In account creation, following options are required: Login Name: <6-10 alphabets long, should be unique> Password: <6-10 alphabets long, should not display characters when user type> Confirm Password: Account Type: Login Name, Password and Account Type should be stored in a separate file in encrypted form. (Encryption means that actual information should be changed and Decryption means that Encrypted information is changed back to the actual information) If any of the above mentioned requirement(s) does not meet then point out mistake and ask user to specify information again. When Program is launched with already created accounts, it will ask for user name and password to authenticate. On successful authentication, give options according to the user’s type.

1763


What are run-time errors?

854


Can a local variable be volatile in c?

786


What are the types of assignment statements?

859


Why do we need arrays in c?

844


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

850


Can we assign integer value to char in c?

854


Why clrscr is used after variable declaration?

1340


Explain the use of bit fieild.

939


What are the different types of control structures?

822


In a switch statement, what will happen if a break statement is omitted?

851


What is static and volatile in c?

1006


What is the use of define in c?

826


Which node is more powerful and can handle local information processing or graphics processing?

1107