int num = 10;
ptr = malloc(sizeof(int)* number);
if memory is allocated like this then the any input statement(scanf,gets,fgets) is not running , compiler jumps these stmts whyyy??
int num = 10;
ptr = malloc(sizeof(int)* number);
if memory is allocated like this then the any input statement(scanf,gets,fgets) is not running , compiler jumps these stmts whyyy??
EmbLogic Research & Competency Development Labs
Phone: +91 9818467776, 8527567776, 9650467776
Email: info@emblogic.com
Copyright © EmbLogic Embedded Technologies Pvt. Ltd.