MCQ Answer

Which of the following correctly represents the ternary operator syntax

Which of the following correctly represents the ternary operator syntax

निम्नलिखित में से कौन टर्नरी ऑपरेटर सिंटैक्स का सही प्रतिनिधित्व करता है
Topic : JS Introduction

A. condition ? True statement : false statement स्थिति ? सत्य कथन : असत्य कथन

B. condition : true statement ? False statement शर्त : सत्य कथन ? झूठा कथन

C. condition ? (true statement : false statement) स्थिति ? (सच्चा कथन : गलत कथन)

D. condition then true statement else false statement शर्त तब सत्य कथन अन्यथा असत्य कथन




Correct Answer is :

A. condition ? True statement : false statement



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad