/* ----------------- Example code from MISRA C:2012 begin ----------------- */ void f1 ( void ) { char input [ 128 ]; ( void ) scanf ( "%128c", input ); ( void ) printf ( "%s", input ); /* Non-compliant */ } /* ------------------ Example code from MISRA C:2012 end ------------------ */