aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Compiler Design
  • Which of the following is a compile time error?
Multiple choice

Which of the following is a compile time error?

  1. Divide by zero

  2. Semantic error

  3. Pointers going

  4. Indices going

  5. Infinite loop

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Semantic error is a compile time error.

Keep practicing — related questions

  • void main() { int _; _=100; printf("%d",_); }
  • What type of error will occur while running the following program? void main() { extern int t; t =100; prin...
  • An exception is a _____________.
  • void main() { print("%d%d%d", sizeof(4.14), sizeof(4.14f), sizeof(4.14L)); }
  • Find out the error in the following program. void main() { int t,c; scanf(Enter the values of t and c = %d ...
  • consider the following statement:while ( 1 ) ;
  • Given the following code fragment: int A[]; int i = 0; A = new int A[4]; while (i < 4) { A[i] = 10; i = i +...
  • What will be the output of the following program : void main() { int val=50; void *ptr; ptr=&val; printf("%...
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Programming Fundamentals (2381 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy