what is the use of pointers

Answer Posted / vignesh1988i

1) pointers which points to a value indirectly through that variable containing that value..... so pointers are used for data security.

2) only by using pointers through functions we can return MORE THAN ONE VALUE AT A TIME.....

3) as above told execution will be faster.....

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are reserved words with a programming language?

795


How can I handle floating-point exceptions gracefully?

832


Is c procedural or functional?

753


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2407


How are 16- and 32-bit numbers stored?

935






How many levels of pointers can you have?

890


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

958


How can I change the size of the dynamically allocated array?

850


What is the translation phases used in c language?

803


At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with these names could be kept in that shelf as in this example: bottom of shelf ---> [AAAJKRDFDEWAAYFYYKK]-----Top of shelf. All these packets are to be loaded on cars. The cars are lined in order, so that the packet could be loaded on them. The cars are also named [A, B, C, D, E,………….]. Each Car will load the packet with the same alphabet. So, for example, car ‘A’ will load all the packets with name ‘A’. Each particular car will come at the loading point only once. The cars will come at the loading point in alphabetical order. So, car ‘B’ will come and take all the packets with name ‘B’ from the shelf, then car ‘C’ will come. No matter how deep in the shelf any packet ‘B’ is, all of the ‘B’ packets will be displaced before the ‘C’ car arrives. For that purpose, some additional shelves are provided. The packets which are after the packet B, are kept in those shelves. Any one of these shelves contains only packets, having the same name. For example, if any particular shelf is used and if a packet with name X is in it, then only the packets having names X will be kept in it. That shelf will look like [XXXXXXX]. If any shelf is used once, then it could be used again only if it is vacant. Packets from the initial shelf could be unloaded from top only. Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.

1922


What are the characteristics of arrays in c?

769


what is the significance of static storage class specifier?

1869


I have seen function declarations that look like this

757


Explain main function in c?

802


What is the purpose of main() function?

879