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 is malloc calloc and realloc in c?

954


What is the difference between single charater constant and string constant?

883


How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?

16106


What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.

2050


p*=(++q)++*--p when p=q=1 while(q<=6)

1518


write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values.  The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.

3166


What is the difference between fread buffer() and fwrite buffer()?

938


Explain what is wrong in this statement?

879


Explain how to reverse singly link list.

871


What are dangling pointers? How are dangling pointers different from memory leaks?

950


Explain how do I determine whether a character is numeric, alphabetic, and so on?

920


In C language, a variable name cannot contain?

1041


I have a varargs function which accepts a float parameter?

825


What is double pointer in c?

785


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2345