You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-12 06:58:30
Sample Code:
C Programming Quizzes C Language Pointer
Directions:
char *ptr;
char myString[] = "abcdefg";
ptr = myString;
ptr += 5;
Question:
what string does ptr point to in the sample code above?
Option A):
cdefg
Option B):
efg
Option C):
defg
Option D):
fg
Correct Answer is Option D):
fg
Failure is the first step towards seccess.
Offline
2015-09-12 06:58:30
- Advertisement
- Ads By Google
Re: Sample Code:
\n
Pages:: 1