Linux MCQ Set 1 1. This program will allocate the memory of ___ bytes for pointer “ptr”. #include<stdio.h> #include<stdlib.h> int main() { int *ptr; ptr = realloc(0,sizeof(int)*10); return 0; } a) 0 b) 10 c) 40 d) none of the mentioned AnswerAnswer: c [Reason:] If the first argument of realloc() is NULL, then it behaves…