Ask Question

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

+4
Answers (1)
  1. 30 June, 03:41
    0
    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";
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “In a working C program, the string literal "CBC" can be assinged to the variable word as follows without causing a compile error. char ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers