What is the difference between array and pointer?
Answer / Huma Parveen
An array is a collection of elements of the same data type, whereas a pointer is a variable that stores the memory address of another variable. An array can be accessed using its index, while a pointer needs to be dereferenced to access the stored value. However, both arrays and pointers can store and manipulate memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a program to reverse a string.
1 Answers Global Logic, iNautix, TCS, Wipro,
Explain the difference between strcpy() and memcpy() function?
What does %c mean in c?
Do you know the use of 'auto' keyword?
What is printf () in c?
Explain how can I manipulate strings of multibyte characters?
who is the father of C Language?
20 Answers CTS, UST,
What is infinite loop?
what are the stages of compilation
Is fortran still used today?
Write a C program to multiply tho numbers without using arithmetic operator (+, -, *, /).
What is #pragma directive?how it is used in the program? what is its advantages and disadvantages?