2074 9

C Programming20745 marksPointers and Arrays

Define pointer. Discuss the relationship between pointer and one-dimensional array. [1.5+3.5]

Define pointer. Discuss the relationship between pointer and one-dimensional array. [1.5+3.5]

--- A pointer is a variable that stores the memory address of another variable. Instead of holding a data value directly, a pointer holds the address where that data is stored in memory. Syntax: Example: Here, ptr is a pointer to an integer. The operator & gives the address of a variable, and the...

Up nextWrite a program to read and print data stored in a file input.txt.