What is the real difference between arrays and pointers?

Answer Posted / anu yadav

array can be of any size whereas pointer is always of 2 byte......

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain pointers in c programming?

640


why we wont use '&' sing in aceesing the string using scanf

1787


What are terms in math?

597


What are the types of c language?

561


#include int main(){ int i=10; int *ptr=&i; *ptr=(int *)20; printf("%d",i); return 0; } Output: 20 can anyone explain how came the output is 20

1269






What is nested structure in c?

616


Explain what are the different file extensions involved when programming in c?

639


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2177


When is a null pointer used?

644


Explain how do you generate random numbers in c?

628


What is the benefit of using const for declaring constants?

592


Explain how are 16- and 32-bit numbers stored?

788


What is main () in c?

590


Describe static function with its usage?

616


i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none

650