wat is the difference between array and pointer?

Answer Posted / lucky

In a arry we have to specify length before we use.
But in the case of poiters we don't need.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a shell structure examples?

584


What does struct node * mean?

591


State the difference between x3 and x[3].

648


What is the difference between exit() and _exit() function in c?

576


What is the difference between declaring a variable and defining a variable?

712






where are auto variables stored? What are the characteristics of an auto variable?

584


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

1522


What is malloc() function?

630


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

1758


When reallocating memory if any other pointers point into the same piece of memory do you have to readjust these other pointers or do they get readjusted automatically?

797


What are data structures in c and how to use them?

665


Explain how do you view the path?

647


Do you know the difference between exit() and _exit() function in c?

603


What is wrong with this code?

687


Define Spanning-Tree Protocol (STP)

638