Answer to Question #49641 in C for Philip

Question #49641
What is a pointer in ‘C’? How is a pointer variable declared? Give examples and explain.Enumerate the utility of pointer variables.
A program in ‘C’ language contains the following declaration: static int x[8] = {1,2,3,4,5,6,7,8}; i) What is the meaning of x? ii) What is the meaning of (x + 2)? iii) What is the meaning of *x? iv) What is the meaning of (*x + 2)? v) What is the meaning of *(x + 2)?
What is a structure? How does a structure differ from a union? Give examples. For what kind of applications, union data structure is useful? How are arrays different from structure?
0
Expert's answer

Answer in progress...

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS