1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Maurinko [17]
3 years ago
8

If the variable letter has been defined as a char variable, which of the following are not valid assignment statements to assign

letter w to the variable?
A) letter = w;
B) letter = 'w';

C) letter = "w";
Computers and Technology
1 answer:
Rudiy273 years ago
6 0

Answer:

The correct answer for the given question is option(A) and option(C) .

Explanation:

To declared any variable of character we using following syntax

char variable=' value';

char  letter='w';

In option(A)  their is no single quotes between character w .So this is not a valid assignment.

In option(C) their is double quotes between character w,no single quotes  between character w .So this is not a valid assignment.

In option(B) their is single quotes between character w .So this is a valid assignment.

So option(A) and option(C) are are not valid assignment statement.

You might be interested in
We want to construct a memory with 256 bytes in capacity. Assume that each byte has a unique address. (a) How many address lines
iVinArrow [24]

Answer:

See attached pictures.

Explanation:

See attached pictures.

5 0
3 years ago
Which of these sites would need additional investigation to check for reliability?
irga5000 [103]
Could you please give add some detail? I would assume any site ending in .com would need to be checked for reliability due to the fact anyone can have a .com, but a site such as edu is more trustworthy. 

5 0
3 years ago
Read 2 more answers
Which item would you most likely keep in a database
Soloha48 [4]
Search results, documents, photos, and videos.
5 0
3 years ago
Read 2 more answers
PLEASE HELP ME!!!
Maksim231197 [3]

Answer:

Use NOT in a search to:

Explanation:

exclude words from your search

narrow your search, telling the database to ignore concepts that may be implied by your search terms

example:  cloning NOT sheep

8 0
2 years ago
Which of the following bit patterns represents the value -9 in two’s complement notation?
nadya68 [22]

Answer:

B. 11110111

Explanation:

Binary representation of number 9 = 00001001

Binary representation of -9 would involve calculating the twos complement representation of 00001001

First we compute the ones complement of this number by reversing the bits.

00001001 => 11110110

Next we calculate the twos complement representation by adding 1 to the ones complement.

11110110+1 = 11110111

So the final representation is 11110111.

5 0
3 years ago
Other questions:
  • Where does the VLookup function find its lookup values?
    14·1 answer
  • True or false: when considering data backups, it is most important to verify that the integrity of the backup file or data is va
    9·1 answer
  • What are all the folders located on the DOCK called?
    11·1 answer
  • Develop a Matlab program that allows you to plot the entropy of a source with variable output probabilities. We wish to observe
    8·1 answer
  • Which is an example of Raw Input?
    11·1 answer
  • Explain how touch-tone dialing sends digits to the switch and write the name given to define touch-tone dialing.
    10·1 answer
  • A group of interrelated resources acting together according to a plan to accomplish the goals of the records and information man
    5·1 answer
  • Create a list with 5 numbers and find the smallest and largest number in the list and also the sum and product of the numbers in
    9·1 answer
  • Yeah help me please......................
    9·1 answer
  • Explain the concept of “survival of the fittest”
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!