THIS IS C These arel TRUE AND FALSE, please put TRUE OR FALSE 1.The size of a po
ID: 3833528 • Letter: T
Question
THIS IS C
These arel TRUE AND FALSE, please put TRUE OR FALSE
1.The size of a pointer in a C program is the same, regardless of the data type it references.
2. Static variables in C retain their values throughout the execution of the program.
3. In C, a string is a special data type defined in the string library that a programmer uses to store text strings in memory.
4. The '->' operator can be used to access structures elements using a pointer to a structure variable only.
5. When a function passes the value of a variable by value, it copies the variable's value into the corresponding parameter variable.
6. It is not possible to create an array of pointer to structures.
7. The & operator must not be used when passing an array of integers to the function using the name of the array.
8. The result of subtracting two pointers in C is the number of elements contained between the two pointers.
9. Printing the value of *(&i) is same as printing the value of the variable i.
Fill in the blank:
The default way of passing a parameter using functions in C is call by ________
The operator * applied to a pointer variable after declaration, means that the pointer variable is _____
The operator & applied to a pointer means that the pointer's ________ is obtained
If ip is a variable pointing to a field in an array of integers, then the next field in the array is ________
The C function from the string library that may be used to copy an entire array of characters to a different array is called ________
Explanation / Answer
TRUE/FALSE:-
1. True
2. True
3. False
4. True
5. True
6. False
7. True
8. True
9. True
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.