What is the real difference between arrays and pointers?
Answer Posted / johnson
Down at the lowest level, they both store addresses, there is
no difference. The difference is simply how the C language
allows you to use them, specially with multi dimensional
arrays. Single dimemsion arrays and pointers are practically
interchangeable.
| Is This Answer Correct ? | 37 Yes | 47 No |
Post New Answer View All Answers
Write a C++ program to generate 10 integer numbers between - 1000 and 1000, then store the summation of the odd positive numbers in variable call it sum_pos, then find the maximum digit in this variable regardless of its digits length.
using only #include
What is difference between structure and union in c?
Are pointers integer?
Explain about the functions strcat() and strcmp()?
Why header file is used in c?
What is difference between scanf and gets?
What is an example of structure?
What are all different types of pointers in c?
what is a constant pointer in C
How many types of arrays are there in c?
What is the use of bitwise operator?
What are the benefits of organizational structure?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
Can you subtract pointers from each other? Why would you?