Welcome Guest | Sign in | Register
Arrays - Discussion Page For Q.10443 | 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 "Welcome" to the character based array stuff (not at declaration time)
A. strcpy( stuff, 'Welcome' ); B. stuff = "Welcome";
C. stuff[0] = "Welcome"; D. strcpy( stuff, "Welcome" );

Answer and Explanation

Answer:strcpy( stuff, "Welcome" );

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.