What is the real difference between arrays and pointers?

Answer Posted / siddhartha

Arrays allocate the memory space which cannot resized or
reassigned. But in case of pointers the memory size can be
resized

Is This Answer Correct ?    42 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why enum is used in c?

525


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

692


What are integer variable, floating-point variable and character variable?

610


Do character constants represent numerical values?

845


What are the different types of control structures?

588






How many levels deep can include files be nested?

653


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

1728


Describe the steps to insert data into a singly linked list.

623


Write a program to print “hello world” without using semicolon?

675


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

653


Why cant I open a file by its explicit path?

594


How a string is stored in c?

590


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

637


What is the use of bitwise operator?

693


How can I get the current date or time of day in a c program?

653