Why does the compiler inserts a null character in begining of first row only when the no. of rows and columns are to be input by the user and not in successive rows of double pointer…
Why does the compiler inserts a null character in begining of first row only when the no. of rows and columns are to be input by the user and not in successive rows of double pointer…
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.
use fflush(stdin) before scanf..this might help you..but doesnt work for me