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 pass by reference in c?

607


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1255


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

571


Here is a neat trick for checking whether two strings are equal

562


How reliable are floating-point comparisons?

622






Write a program for Overriding.

680


Explain low-order bytes.

621


Explain what is gets() function?

627


What is volatile c?

521


What is the need of structure in c?

562


What is pointer to pointer in c with example?

544


What is scanf () in c?

658


What is a void pointer? When is a void pointer used?

618


Write a program to print all permutations of a given string.

638


Explain how do you list a file’s date and time?

615