What is the real difference between arrays and pointers?
Answer Posted / sankar s
array refer data in memory location , pointer refer address
to the memory location ,pointer refer the pointee
int *a;
int b[10];
a=&b;
where a is the pointer array b is pointee which point out
the starting memory location of an array.
| Is This Answer Correct ? | 24 Yes | 13 No |
Post New Answer View All Answers
Who is the main contributor in designing the c language after dennis ritchie?
write a program to generate address labels using structures?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What is the difference between a function and a method in c?
What are global variables and explain how do you declare them?
Can you think of a logic behind the game minesweeper.
What are header files in c?
What are the disadvantages of a shell structure?
What are the various types of control structures in programming?
What is modeling?
What is a nested loop?
Distinguish between actual and formal arguments.
what is the difference between class and unio?
Explain void pointer?
Explain zero based addressing.