I just cod in assignment solve fast tell output i will like it is in C language
int pin_n = 3;
void setup() {
for (int k = 3; k < = 5; k++)
pinMode(k, OUTPUT) ;
}
void loop() {
digitalwrite(pin_n, 1);
pin_n++;
if (pin_n > 5)
pin_n = 3;
}
Answers
Answered by
0
Explanation:
C (/siː/, as in the letter c) is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system. By design, C provides constructs that map efficiently to typical machine instructions.
Similar questions