-------------------------------------------------------------------------------------------------------- Work with NI Hard- and Software for about 15 years now.
Yes, I agree the For Loop will not execute. As far as I learned few days ago here in this forum we getting default values 0. So one default value 0 is equal to the other default value 0. The while loop stops and gives the third default value 0 to the output.
update: it is not the third default value, it is the init value of shift register, Thank you LordNobody for make it more precise A
As Andreas says the For loop will not execute, default value = default value so the while loop gives the initialization from the shift register from the for loop as output.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Ans : A, for loop will not execute and while loop will stop in its first iteration.so What ever the value we are passing as input in shift register will be the output.