wat is the difference between array and pointer?

Answer Posted / unni

array is a fixed sequence collection of elements of the same datatype:
pointer contains memory address as their values...

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by operator precedence?

678


How can you pass an array to a function by value?

599


When should the const modifier be used?

658


How many levels of pointers can you have?

705


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1529






Explain how do you sort filenames in a directory?

607


Is c easier than java?

569


What is the function of multilevel pointer in c?

670


What is an expression?

656


How can my program discover the complete pathname to the executable from which it was invoked?

660


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1859


What is the most efficient way to count the number of bits which are set in an integer?

591


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

1848


What are pointers? What are stacks and queues?

579


please explain every phase in the "SDLC" in the dotnet.

2180