aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • C# Programming
  • Which of the following directive is used to undefine any ...
Multiple choice

Which of the following directive is used to undefine any symbol used in the C# program?

  1. #define

  2. #error

  3. #warning

  4. #undef

  5. #if

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

This directive is used to undefine any symbol used in the C# program which causes no effect of the symbol defined using #define directive.

Keep practicing — related questions

  • Which of the following directive is used in C# to define a symbol, which can be used with the #if directive...
  • Which sign of compiler directives must appear in the first column of the line?
  • Which of the following declarations in 'C' begins with '#' symbol?
  • What is the output of the following code? # include<stdio.h># define a 10 main() { printf("%d..",a); foo();...
  • Which of the following statement is used in C# to specify a block of code that can be expanded or collapse ...
  • Which preprocessor directives allows to include or discard part of the code of a program?
  • By using which of following directives, you can make use of the unqualified types that are members of the n...
  • Find the error in the code assuming that preprocessor directives are correct. int fun (int val) { val > 20?...
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