MCQ Practice
What is the output of this program? #include #include int main() { int *ptr1; while(1){ ptr1 = malloc(1024*1024); if(ptr1 == 0) break; sleep(1); printf("Examplen"); free(ptr1); } return 0; }
Subject: Computer Science EngineeringTopic: Linux
Correct Answer: A
