Nguyễn Ngọc Huỳnh
New member
What is the output of this program?
A. this program will print nothing after execution
B. segmentation fault
C. Aborted (core dumped)
D. none of the mentioned
Code:
#include<stdio.h>
#include<stdlib.h>
int main()
{
char *ptr;
free(ptr);
return 0
}
B. segmentation fault
C. Aborted (core dumped)
D. none of the mentioned