U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW 1D0-735 Exam - Topic 1 Question 96 Discussion

Considering the following code:Var 1 ;For (I = 1; I < 10; I ++)What part of the code fragment initializes the counter variable?
C) i = 1;
A) i ++
B) i < 10;
D) Var 1;

CIW 1D0-735 Exam - Topic 1 Question 96 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 96
Topic #: 1
[All 1D0-735 Questions]

Considering the following code:

Var 1 ;

For (I = 1; I < 10; I ++)

What part of the code fragment initializes the counter variable?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Kaitlyn
1 month ago
I practiced a similar question before, and I think it was about the loop structure. I feel like option B might be important for the loop condition, not initialization.
upvoted 0 times
...
Fairy
1 month ago
I'm not entirely sure, but I remember something about initialization being the first assignment. So, maybe it's also related to option D?
upvoted 0 times
...
Dana
2 months ago
I think the counter variable is initialized in option C, where it says i = 1. That seems to be the starting point.
upvoted 0 times
...

Save Cancel