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

Home > Java Programming > Arrays > Questions and Answers

Q: What string does ptr point to in the sample code below?
Code:
char *ptr;
char myString[] = "abcdefg";
ptr = myString;
ptr += 5;
A. fg B. efg
C. defg D. cdefg
E. Choice 5

Answer and Explanation

Answer:fg

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.