Haylegaliano5338 Haylegaliano5338
  • 06-12-2019
  • Computers and Technology
contestada

In a working C program, the string literal "CBC" can be assinged to the variable word as follows without causing a compile error. char word[3]a. true.b. false

Respuesta :

affan905 affan905
  • 07-12-2019

Answer:

false

Explanation:

string literal cannot be be assigned to a fixed length char array. however, it can be assigned using a char* e.g:

char* word =(char*) "CCA\0";

Answer Link

Otras preguntas

What does ender ask bean to do? why does he choose bean for this task?
what is sin 2x equal to
I need help please.
A boat is headed with a velocity of 18 meters/second toward the west with respect to the water in a river. If the river is flowing with a velocity of 2.5 meters
A lock has 60 digits, and the combination involves turning right to the first number, turning left to the second number, and turning right to the third number.
Which of the following is an example of how terrorism has changed in the 21st century? A. The United States has faced internal threats of terrorism. B. As
Which structure or substance is responsible for helping filter and clean air as it passes through the trachea and bronchioles? A. Cilia B. Saliva C. Nas
In general, how does the US Bill of Rights compare with Article I of Michigan's constitution? The US Bill of Rights contains many protections not found in Michi
Solve this Expression below : W -1/4 = 3 /7 .So that the Question is to Solve for W. ​
If a(x) and b(x) are linear functions with one variable, which of the following expressions produces a quadratic function? (ab)(x) (a – b)(x) (a + b)(x)