+ 1

What's the meaning of "priming read" in C program?

I'm doing my C homework and the question want me to use a while-loop with priming read. I don't quite get the meaning,can I have an example for that?

8th Jul 2020, 11:01 AM
Milo
Milo - avatar
2 Answers
+ 6
This simply means that you have to initialise the loop variable before entering the loop. For example:- Int i=0 //This is priming read or *primer* While (i<10) { i++ }
8th Jul 2020, 11:08 AM
Arsenic
Arsenic - avatar
+ 1
Thank you so much!!!
8th Jul 2020, 11:10 AM
Milo
Milo - avatar