what is the use of pointers
Answers were Sorted based on User's Feedback
Answer / ramudu a
The main advantages of using pointers are
1.) Function cannot return more than one value. But when the same function can modify many pointer variables and function as if it is returning more than one variable.
2.) In the case of arrays, we can decide the size of the array at runtime by allocating the necessary space.
3.)Pointers allow you to dynamically request memory to store off information for use later.
4.)They allow you to create linked lists and other algorithmically oriented data structures.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / manju
It increases the speed of excecution when there is a need
for the usage of arrays....
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sindhu
We may return more than one value at a time to any function.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / venkat1435@yahoo.co.in
by using pointers
1)we can pass the function arguments to another function
2)it holds the address of another function
3)it acts as a call back function
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / 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 |
Explain what standard functions are available to manipulate strings?
write a program to display numbers from 1 to 10 and 10 to 1?
write a c program that if the given number is prime, and their rearrangement(permute) of that number is also prime. Ex: Input is "197" is prime Output: 791,917,179 is also prime. Please any one tell me tha code for that
What is typedf?
Explain how many levels deep can include files be nested?
can anyone please tell me wat is backlogs... i was looking for the job openings where i read this.. eligibility criteria minimum 70% in degree without backlogs. is that arrear.. if so is it standing arrear or history of arrears... please help me...
11 Answers CTS, Indian Navy, L&T, Microsoft, SSB, TCE, TCS,
out put of printf(ā%dā,printf(ram));
What are the characteristics of arrays in c?
write a program to add two numbers of any size.....(remember any size)
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
Can i use Two or More Main Funtion in any C program.?
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.