Computer Science · C Programming
निम्नलिखित C कोड पर विचार करें: #include int main() { int val = 5; if(val != 0) { printf('non-zero value'); } return 0; } निम्नलिखित में से कौन सी 'if' स्थिति उपरोक्त कोड के लिए बिल्कुल समान आउटपुट देगी?
- 1if(valnull)
- 2if(val)✓
- 3if(val1)
- 4if(val0)
सही उत्तर देखें
if(val)
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 Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on C Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · C Programming