can any one please dry run this code
#include<iostream> using namespace std; int main() { intnum,factor=1,temp; cout<<"Enter any integer value"<<endl; cin>>num; //number given by the user is 10123. temp=num; while(num>0) { num=num/10; factor=factor*10; }