wat is the difference between array and pointer?

Answer Posted / shraddha choubey

1)array do not contains address.. but pointers contains address .
2)array means continues memory location but,pointers do not.

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the two types of structure?

575


Was 2000 a leap year?

631


Why do we use header files in c?

580


What is data type long in c?

623


Why are some ANSI/ISO Standard library routines showing up as undefined, even though I've got an ANSI compiler?

667






What are all different types of pointers in c?

577


Explain how do you use a pointer to a function?

640


What is the difference between text and binary modes?

644


Write a code on reverse string and its complexity.

608


What is the difference between declaring a variable by constant keyword and #define ing that variable?

2699


What is #define size in c?

644


Can we initialize extern variable in c?

632


Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].

640


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

2180


Is multithreading possible in c?

566