areeb
Junior Member level 2
What does the following C++ code do??
Hi guys,
I am new to programming, what will be the output of the following code, please respond step by step how will this code work. Thanks!
Hi guys,
I am new to programming, what will be the output of the following code, please respond step by step how will this code work. Thanks!
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #define reloff PRT1DR &= 0x3a char d=-20; void main() { while(1) { d++; if(d==10) { d=290; } if(d>1000) { d=0; } } }
Last edited by a moderator: