What is the real difference between arrays and pointers?
Answer Posted / shubham arora
1-through pointers we can access data directly while in array we have to traverse the whole array for accessing particular data.
2- due to above reason accessing through pointers is fast than
array.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Difference between macros and inline functions? Can a function be forced as inline?
Why do we use stdio h and conio h?
what are the 10 different models of writing an addition program in C language?
Are pointers integers in c?
How to define structures? ·
Explain how can I open a file so that other programs can update it at the same time?
What are preprocessor directives in c?
How a string is stored in c?
What does %c do in c?
Implement bit Array in C.
how many key words availabel in c a) 28 b) 31 c) 32
Why doesnt that code work?
What is the difference between ++a and a++?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.