Ques 1 Variable
Which of the following is the property of Variable?
a) We can change the value of variable
b) It store value
c) Both (a) and (b)
d) None of these
Ques 2 Variable
Which one of the following is the correct option of variable declaration ?
a) int A:
b) int a;
c) int $x;
d) (a), (b) and (c)
Ques 3 Variable
Which keyword is used to make any variable as immutable variable in C Programming?
a) int
b) float
c) const
d) pointer
Ques 4 Variable
What is the purpose of a variable in C programming?
a) To store comments
b) To store data
c) To perform mathematical operations
d) To print output
Ques 5 Variable
Which of the following statements about comments in C++ is true?
a) Comments are executed by the compiler.
b) Comments are ignored by the compiler.
c) Comments are necessary for the program to compile.
d) Comments can only be used at the beginning of a program.