Question
Q1- A program that produces an incorrect result has: Syntax error Non-fatal run-time error Fatal run-time error Compile error Q2- If a C program has
Q1- A program that produces an incorrect result has:
Syntax error
Non-fatal run-time error
Fatal run-time error
Compile error
Q2- If a C program has run-time error, it can't be compiled
True
false
Q3- What file will be created after compiling a C program after executing the following command? gcc test.c -o test.out
test
test.out
a.out
We can't compile a c program with this command
Q4- How do we execute a compiled C program in a Linux/Unix system after the following successful compilation? gcc myProgram.c
myProgram.exe
./myProgram
./myProgram.out
./a.out
Q5- Division by zero is a:
Compile error
Non-fatal run-time error
Fatal run-time error
Syntax error
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started