🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित for लूप कितनी बार निष्पादित होगा? exp: "56247839"

How many times will the following for loop execute? exp: “56247839”

A)
B)
C)
D)

Explanation:

To determine how many times the for loop will execute, let's analyze the string "56247839".

If the loop is iterating over each character in the string, it will run once for each character.

The string "56247839" has 8 characters.

So, the for loop will execute 8 times.

Answer: (B) 8

Latest Updates