Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Which of the following belong to the integer family of data types? (pick 4 correct answers) char long int object struct float int pointer

1. Which of the following belong to the integer family of data types? (pick 4 correct answers)

char

long int

object

struct

float

int

pointer

short int

double

2. What is true of the data type char?

a. char is always 16 bits.

b. char is always unsigned

c. char is a tiny signed integer

d. char can only hold a printable ASCII character.

e. char is a tiny integer, signed or unsigned depending on the compiler.

3. Which of the following is an hexadecimal constant?

a. 0367

b. 0399

c. 0x456

d. 74A3

e. 01101011

4. A string in C is a sequence of characters in memory terminated by a byte containing ________.

5. Write a declaration for an array named points that holds 25 items of data type double.

6. Write a declaration for a variable named ptod that will hold a pointer to data of type double, and is initialized to NULL;

7. Write a declaration for a variable pci which is to be a pointer to a constant int

8. The ________ of an identifier determines how multiple occurrences of the identifier in several source files are treated.

9. The ________ (two words) of a variable refers to the type of memory in which the variable's value is stored.

10. Variables outside of any blocks are always stored in ________ memory.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions

Question

1. In what ways has flexible working revolutionised employment?

Answered: 1 week ago