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

Georgia was intended to be a second chance for what group of people? A. Debtors to the English government B. Debtors to the Virginian government C.
What are the coordinates of vertex J of the pre-image?
the moles of Na3PO4 produced from 3.24 moles of ammonia NaCl is
Reanna o'connor earned $120 in simple interest in 9 months at an apr of 3%. how much was her initial investment? (hint: use the formula i = prt and substitute k
Susan has been working tirelessly for the past few weeks due to tight deadlines. she is also being pressurized by her parents to get married and settle in life.
PLEASE HELP Evaluate each expression. 6! = 3! • 2! = =
When a physical need for a drug or alcohol has been achieved, this is referred to as ________________.?
Find the point on the curve r(t) = h1, t, t2 i where the tangent line is parallel to the plane 3x − 4y + 5z = 0.
Most vegetables substantially diminish in quality in as little as _______ days. A. 2 B. 14 C. 7 D. 4
The average speed in miles per hour is defined to be the distance in miles divided by the time in hours spent covering the distance. a. What is the jogger’s ave