compare array with pointer?



compare array with pointer?..

Answer / vadivel t

conceptually, pointer is another representation of an array.
In both the concepts data elements can be accessed using
subscripts.

Array knows the boundary of it. But pointer will not know
its boundary, unless otherwise informed explicitly.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More C Interview Questions

code for copying two strings with out strcpy() function.

6 Answers  


write a method for an array in which it can display the largest n next largest value.

1 Answers   Value Labs,


What is %lu in c?

0 Answers  


what is the use of ~ in c lang?????

3 Answers  


what is ANSI and ISO

7 Answers   HCL,






#include <stdio.h> #define sqr(x) (x*x) int main() { int x=2; printf("value of x=%d",sqr(x+1)); } What is the value of x?

16 Answers   Accel Frontline, Opera, Oracle,


what is the difference between postfix and prefix unary increment operators?

3 Answers  


can we declare a function in side the structure?

2 Answers   HCL,


What is a char in c?

0 Answers  


biggest of two no's with out using if condition statement

8 Answers  


Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?

0 Answers  


Explain how can I prevent another program from modifying part of a file that I am modifying?

0 Answers  


Categories