[C Programming MCQS ]
झारखंड में आयोजित होने वाली JPSC, JSSC, JET, झारखंड पुलिस भर्ती परीक्षा आदि के लिए उपयोगी सामान्य अध्ययन।
[ C Programming MCQS ]
Useful GK for JPSC, JSSC, JET, Jharkhand Police and other exams.
21. && Operator का उपयोग किसके लिए किया जाता है?
[A] Value assignment
[B] Increment by 1
[C] Logical comparison
[D] Condition Checking
21. The operator && is used for ________.
[A] Value assignment
[B] Increment by 1
[C] Logical comparison
[D] Condition Checking
सही उत्तर: Logical comparison
व्याख्या: && Logical AND Operator है जो दो Conditions को जोड़ता है।
Correct Answer: Logical comparison
Explanation: && is the logical AND operator used in conditional expressions.
22. & Operator का उपयोग किसके लिए किया जाता है?
[A] Bitwise AND
[B] Logical AND
[C] Pointer to the variable
[D] None of these
22. The operator & is used for _________.
[A] Bitwise AND
[B] Logical AND
[C] Pointer to the variable
[D] None of these
सही उत्तर: Bitwise AND
व्याख्या: & Bitwise AND Operator है।
Correct Answer: Bitwise AND
Explanation: & is the bitwise AND operator.
23. Equality Operator किसे दर्शाता है?
[A] :=
[B] .EQ
[C] =
[D] ==
23. The equality operator is represented by _________.
[A] :=
[B] .EQ
[C] =
[D] ==
सही उत्तर: ==
व्याख्या: == का उपयोग दो मानों की समानता जांचने के लिए किया जाता है।
Correct Answer: ==
Explanation: == is used to compare equality between two values.
24. Operator Precedence क्या निर्धारित करती है?
[A] Faster
[B] Take less memory
[C] Take no argument
[D] Evaluated first
24. Operator precedence determines which operator is ____________.
[A] Faster
[B] Take less memory
[C] Take no argument
[D] Evaluated first
सही उत्तर: Evaluated first
व्याख्या: Operator Precedence यह निर्धारित करती है कि कौन-सा Operator पहले Execute होगा।
Correct Answer: Evaluated first
Explanation: Operator precedence determines which operator is evaluated first.
25. Bitwise AND का उपयोग किसके लिए किया जाता है?
[A] Masking
[B] Comparison
[C] Division
[D] Shifting bits
25. The bitwise AND is used for _______________.
[A] Masking
[B] Comparison
[C] Division
[D] Shifting bits
सही उत्तर: Masking
व्याख्या: Bitwise AND का उपयोग Masking Operation में किया जाता है।
Correct Answer: Masking
Explanation: Bitwise AND is commonly used for masking operations.
26. << Operator का उपयोग किसके लिए किया जाता है?
[A] Shifting bits to left
[B] Shifting bits to right
[C] Equality Checking
[D] None of these
26. The operator << is used for ________________.
[A] Shifting bits to left
[B] Shifting bits to right
[C] Equality Checking
[D] None of these
सही उत्तर: Shifting bits to left
व्याख्या: << Left Shift Operator है।
Correct Answer: Shifting bits to left
Explanation: << is the left shift operator.
27. निम्न में से किसकी Precedence सबसे अधिक है?
[A] *
[B] ==
[C] =>
[D] +
27. Which of the following has the HIGHEST precedence?
[A] *
[B] ==
[C] =>
[D] +
सही उत्तर: *
व्याख्या: Multiplication Operator (*) की Precedence + और == से अधिक होती है।
Correct Answer: *
Explanation: The multiplication operator (*) has higher precedence than + and ==.
28. = Operator की Associativity क्या है?
[A] Right to Left
[B] Left to Right
[C] None of these
[D] All of above
28. The associability of = operator is ________.
[A] Right to Left
[B] Left to Right
[C] None of these
[D] All of above
सही उत्तर: Right to Left
व्याख्या: Assignment Operator (=) की Associativity Right to Left होती है।
Correct Answer: Right to Left
Explanation: The assignment operator (=) has right-to-left associativity.
29. निम्न में से किस Operator की Priority सबसे कम होती है?
[A] ++
[B] %
[C] ||
[D] ()
29. Which operator has LOWEST priority?
[A] ++
[B] %
[C] ||
[D] ()
सही उत्तर: ||
व्याख्या: Logical OR (||) की Precedence दिए गए विकल्पों में सबसे कम होती है।
Correct Answer: ||
Explanation: Logical OR (||) has the lowest precedence among these operators.
30. निम्न में से किस Operator की Priority सबसे अधिक होती है?
[A] ()
[B] ||
[C] %
[D] ++
30. Which operator has HIGHEST priority?
[A] ()
[B] ||
[C] %
[D] ++
सही उत्तर: ()
व्याख्या: Parentheses () की Precedence सबसे अधिक होती है।
Correct Answer: ()
Explanation: Parentheses () have the highest precedence.