Physics · C Programming Language
C भाषा में if-else कथन के बारे में निम्नलिखित में से कौन सा कथन सही नहीं है?
- 1एक if-else कथन को दूसरे if-else कथन के अंदर नेस्ट (nested) नहीं किया जा सकता है।✓
- 2यदि कोई शर्त सत्य है, तो उसका मान 1 होता है, और यदि असत्य है, तो उसका मान 0 होता है।
- 3एक 'if' का हमेशा 'else' से जुड़ा होना आवश्यक नहीं है। हालाँकि, एक 'else' हमेशा एक 'if' से जुड़ा होना चाहिए।
- 4if या else कथन का डिफ़ॉल्ट स्कोप केवल अगला एकल कथन होता है। कई कथनों को निष्पादित करने के लिए, उन्हें ब्रेसिज़ ({ }) में लिखा जाना चाहिए।
सही उत्तर देखें
एक if-else कथन को दूसरे if-else कथन के अंदर नेस्ट (nested) नहीं किया जा सकता है।
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Physics?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on C Programming Language?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Physics · C Programming Language