Can we access array using pointer in c language?



Can we access array using pointer in c language?..

Answer / Maneesh Kumar

"Yes, arrays and pointers are closely related in C. A pointer can be used to access the elements of an array directly."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

#include<stdio.h> int main() { int i=0,j=1,k=2,m,n=0; m=i++&&j++&&k++||n++; printf("%d,%d,%d,%d,%d",i,j,k,m,n); }

12 Answers   Capital IQ, Sasken,


What are the benefits of organizational structure?

1 Answers  


A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference

1 Answers  


Can you write a programmer for FACTORIAL using recursion?

1 Answers   ADP,


4) Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers  


write a program to display numbers from 1 to 10 and 10 to 1?

2 Answers  


What are the differences between new and malloc in C?

1 Answers   Amazon,


How to access or modify the const variable in c ?

16 Answers   HCL, HP,


Write a program to check prime number in c programming?

1 Answers  


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1 Answers  


Is linux written in c?

1 Answers  


Is there any data type in c with variable size?

1 Answers  


Categories