Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-149 Topic 12 Question 24 Discussion

Actual exam question for Oracle's 1Z0-149 exam
Question #: 24
Topic #: 12
[All 1Z0-149 Questions]

Which is true about counter variables in a FOR loop?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Jenifer
6 months ago
It's confusing. I think I'll go with B. It sounds logical.
upvoted 0 times
...
Leota
7 months ago
Isn't it obvious that D is wrong? Usually, counter variables are not accessible outside the loop.
upvoted 0 times
...
Mozell
7 months ago
I read somewhere that they aren't usually NULL, so maybe C is correct.
upvoted 0 times
...
Romana
7 months ago
I feel uneasy about this one. Don't counter variables need to be declared like A suggests?
upvoted 0 times
...
Chantell
7 months ago
Not sure. I think it must be B, as counter variables can be updated inside the loop.
upvoted 0 times
...
Jenifer
7 months ago
What do you think about the question on counter variables in a FOR loop?
upvoted 0 times
...
Essie
8 months ago
That's correct. It must hold a valid value.
upvoted 0 times
...
Phung
8 months ago
But it can't be NULL, right?
upvoted 0 times
...
Rolland
8 months ago
And you can definitely modify it within the loop.
upvoted 0 times
...
Broderick
8 months ago
Yes, that's correct. It's usually initialized before the loop.
upvoted 0 times
...
Essie
8 months ago
I think the counter variable must be explicitly declared.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77