What is the real difference between arrays and pointers?

Answer Posted / guest

Arrays automatically allocate space which is fixed in size and
location; pointers are dynamic.

Is This Answer Correct ?    202 Yes 25 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I convert a number to a string?

644


What is the general form of function in c?

607


What are dangling pointers in c?

637


What is a global variable in c?

587


By using C language input a date into it and if it is right?

570






What are the similarities between c and c++?

594


What is a scope resolution operator in c?

747


What is a shell structure examples?

587


What is pointer and structure in c?

568


What does c value mean?

623


Explain zero based addressing.

605


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

576


Can you write the algorithm for Queue?

1547


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

764


Why flag is used in c?

651