what is a pointer

Answer Posted / anil yadav

A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type....

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is d scanf?

806


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1019


Why is c platform dependent?

822


What is null character in c?

898


What are the uses of null pointers?

807


Can a pointer point to null?

807


How can I list all of the predefined identifiers?

785


Explain about the constants which help in debugging?

1103


why do some people write if(0 == x) instead of if(x == 0)?

853


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.

1762


What is the benefit of using const for declaring constants?

823


Difference between malloc() and calloc() function?

905


What is ## preprocessor operator in c?

839


Where are some collections of useful code fragments and examples?

968


explain how do you use macro?

925