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

For the inverse variation equation P=8/V, what is the value of V when P = 1/2? A) 1/16 B) 1/4 C) 4 D) 16
Find last​ year's salary​ if, after a 5 %5% pay​ raise, this​ year's salary is $ 33 comma 075$33,075.
2. The Catholic Church in Europe was responsible for building some of the earliest A. universities. B. nurseries. C. castles. D. town halls.
How does swift characterize the king of brobdingnag?
a farmer is taking her eggs to market in her cart, but she hits a pothole, whick knocks over all the containers of eggs. Though she herself is unhurt, every egg
What process are nutrients distributed to the epidermal cells in dugesia?
What is the correct sequence in which the following events occurred? 1. Kansas-Nebraska Act 2. Missouri Compromise 3. Compromise of 1850 4. Dred Scott Supreme C
For the reaction N2(g) + 3H2(g) 2NH3(g), what will happen if hydrogen gas was removed from the reaction mixture?
the ratio of stars to stripes is 50 to 13. if there were 400 stars in the paradehow many stripes were there
How are the constitutional monarchies of northern europe similar to the government of the united states