what is the advantage of function pointer

Answer Posted / chikani sagar

TO implement call back functions......It is more efficient.
code complexity will be redused.....

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a C program to count the number of email on text

1418


Is that possible to add pointers to each other?

901


Explain what are reserved words?

635


Is struct oop?

580


List the difference between a 'copy constructor' and a 'assignment operator' in C?

637






Can you please explain the difference between exit() and _exit() function?

592


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

571


What is typedef struct in c?

584


Why do we use pointer to pointer in c?

599


Is fortran still used today?

604


What is c language and why we use it?

623


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.

1513


What is a lvalue

664


What is the c language function prototype?

646


Implement bit Array in C.

676