I have a Windows console application. And I have declared few global variable.
Found while debugging, this global( i.e. RunFlag) variable becomes 0 while execution sscanf function.
where frequency is global variable and Id is local.Code:BYTE RunFlag; if ( sscanf( p+4,"%02X%03X",&Id,&frequency) != 2 )
Can anybody help and tell why this weird this happening