Interviewer And Interviewee Guide

Device Drivers Interview Question:

What is the output of this program?

#include<stdio.h>
#include<stdlib.h>

int main()
{
char *ptr;
free(ptr);
return 0
}
a) this program will print nothing after execution
b) segmentation fault
c) Aborted (core dumped)
d) none of the mentioned

Submitted by: Murtaza
c) Aborted (core dumped)
Submitted by: Murtaza

Read Online Device Drivers Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.