Welcome Guest | Sign in | Register
Arrays - Discussion Page For Q.10441 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Arrays > Questions and Answers

Q: Assign the text string "Hello" to the character based array words at declaration time.
A. char words[10] = 'Hello'; B. static char words[] = "Hello";
C. static char words["hello"]; D. static char words[] = { Hello };

Answer and Explanation

Answer:static char words[] = "Hello";

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.