Question

C programming true or false 1) Pointer in a C program can only point to built...

C programming

true or false

1) Pointer in a C program can only point to built in types of variables in C.

2) In order to work with an external file, we must declare pointer to file first.

3) In order to use an external file in a C program, pointer to file must be declared first.

4) Header files created by a programmer, must be enclosed in <>, the same as the header files taken from a C library

1 0
Add a comment Improve this question Transcribed image text
Answer #1

1. Pointer is an object whose value points to (or refers to some other value stored at some memory address. Pointers can be d

Add a comment
Know the answer?
Add Answer to:
C programming true or false 1) Pointer in a C program can only point to built...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • C++ Language 1. True/False: You can use pass by reference when passing a C++ unique pointer...

    C++ Language 1. True/False: You can use pass by reference when passing a C++ unique pointer to a function. a)True b)False 2. True/False: A temporary value in a program can be referred to by at most one lvalue reference. a)True b)False 3. A unique pointer is a pointer a that is declared in a block of code in which it is the only pointer. b that is declared in a function in which it is the only pointer. c that...

  • Programming languages allow the programmer to create his or her own functions which are called __________...

    Programming languages allow the programmer to create his or her own functions which are called __________ __________ functions. The function that returns the number of characters in a string is the __________ function. __________ files contain records that must be processed in the order in which they were created. The elements of an array are stored in __________ storage locations in the computer’s memory. A variable that is declared outside all program modules, including the main module, has __________ scope....

  • In C programming State whether the following are true or false. If the answer is false,...

    In C programming State whether the following are true or false. If the answer is false, give a few words to indicate why. Label your answers with the corresponding letter. A. A single array can store different types of values. B. A subscript can be type “float”. C. It is an error to initialize an array with fewer values then the declared size of the array. D. Passing an individual element of an array to a function allows the called...

  • Programming Assignment 1 Structures, arrays of structures, functions, header files, multiple code files Program description: Read...

    Programming Assignment 1 Structures, arrays of structures, functions, header files, multiple code files Program description: Read and process a file containing customer purchase data for books. The books available for purchase will be read from a separate data file. Process the customer sales and produce a report of the sales and the remaining book inventory. You are to read a data file (customerList.txt, provided) containing customer book purchasing data. Create a structure to contain the information. The structure will contain...

  • C Programming QUESTION 2 Which of the following statements about pointer arguments are true? Select all...

    C Programming QUESTION 2 Which of the following statements about pointer arguments are true? Select all choices you believe are correct--this question may have more than one correct answer! A. The * operator allows you to access the address of an existing variable, while the & operator allows you to dereference a pointer and access the data to which it points. B. A function with pointer arguments must have the void return type. C. Pointer arguments allow you to write...

  • C++ C++ Language 1. True/False: You can use pass by reference when passing a C++ unique...

    C++ C++ Language 1. True/False: You can use pass by reference when passing a C++ unique pointer to a function. a)True b)False 2. True/False: A temporary value in a program can be referred to by at most one lvalue reference. a)True b)False 3. A unique pointer is a pointer a that is declared in a block of code in which it is the only pointer. b that is declared in a function in which it is the only pointer. c...

  • C Language Programming. Using the program below - When executing on the command line only this...

    C Language Programming. Using the program below - When executing on the command line only this program name, the program will accept keyboard input and display such until the user does control+break to exit the program. The new code should within only this case situation “if (argc == 1){ /* no args; copy standard input */” Replace line #20 “filecopy(stdin, stdout);” with new code. Open read a text file “7NoInputFileResponse.txt” that contains a message “There were no arguments on the...

  • Section 1: TRUE/FALSE (Please circle one) (I point for each question) 1. Staticvariables can be initialized...

    Section 1: TRUE/FALSE (Please circle one) (I point for each question) 1. Staticvariables can be initialized using other variables. 1. True 2. False 2. Declaration statements containing the word extern create new storage areas. 1. True 2. False 3. All computer operating systems use the same specification as to the maximum number of characters permitted for an external filename. 2. False 1. True 4. Using a subscript that references a nonexistent array element will always be detected by all C++...

  • TRUE/FALSE 1. If pl is an integer pointer variable, with the value of 1000, pl++ changes...

    TRUE/FALSE 1. If pl is an integer pointer variable, with the value of 1000, pl++ changes P1 to point to the memory location 1001. ANSWER: T 2. When you return a dynamic array to the freestore, you must include the number of elements in the array 3. You can assign an array to a pointer variable. 4. The size of dynamic arrays must be declared at compile time. 5. int *pl; declares a static variable. ANSWER: F ANSWER: F ANSWER:...

  • C programming Write a pointer version of strlen_(const char* s) WITH assertions write a pointer version...

    C programming Write a pointer version of strlen_(const char* s) WITH assertions write a pointer version of strien (const char s) in your main routine, show that your version gives the same value as the C stdlib version (strlen(const char* s)), using assertions. Your program must compile, run, and pass all assertions in order to get credit.

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT