Start learning →

If a program has syntactical errors, what will be obtained?

APart output
BNo output
CSome output
DHalf output
Answer & Solution
Correct answer: B. No output
1. A syntax error stops the program before it can run. 2. Nothing is produced when that happens. 3. In the presence of syntactical errors, no output will be obtained. 4. So the answer is no output. _Source: syllabus Computer Science, Ch 4 'Introduction to Problem Solving'_
Practise this question with Quill — BCA →

Keep practising Problem Solving and Algorithms

Browse all Problem Solving and Algorithms questions for BCA, or explore more Computer Science topics.

Start a Problem Solving and Algorithms lesson →
Related questions