This document contains 5 questions about C programming concepts: 1) How to combine two statements allocating and assigning memory to a char pointer into one; 2) Whether *ptr++ and ++*ptr are the same; 3) The output and reason for code printing the sizes of an int array, its first element, and the size of an int; 4) Two places pointers can be used; 5) How to pass a pointer to a pointer to a function and assign a value within the function.
This document contains 5 questions about C programming concepts: 1) How to combine two statements allocating and assigning memory to a char pointer into one; 2) Whether *ptr++ and ++*ptr are the same; 3) The output and reason for code printing the sizes of an int array, its first element, and the size of an int; 4) Two places pointers can be used; 5) How to pass a pointer to a pointer to a function and assign a value within the function.
This document contains 5 questions about C programming concepts: 1) How to combine two statements allocating and assigning memory to a char pointer into one; 2) Whether *ptr++ and ++*ptr are the same; 3) The output and reason for code printing the sizes of an int array, its first element, and the size of an int; 4) Two places pointers can be used; 5) How to pass a pointer to a pointer to a function and assign a value within the function.