निम्नलिखित में से कौन सा C में लूप का प्रकार नहीं है?

This question was previously asked in
RRB JE ECE 22 Apr 2025 Shift 1 CBT 2 Official Paper
View all RRB JE Papers >
  1. do-while लूप
  2. foreach लूप
  3. while लूप
  4. for लूप

Answer (Detailed Solution Below)

Option 2 : foreach लूप
Free
General Science for All Railway Exams Mock Test
2.1 Lakh Users
20 Questions 20 Marks 15 Mins

Detailed Solution

Download Solution PDF

सही उत्तर है: 2) foreach लूप

व्याख्या:
C प्रोग्रामिंग में, निम्नलिखित लूप समर्थित हैं:

  1. for लूप: निश्चित पुनरावृत्ति के लिए उपयोग किया जाता है जब पुनरावृत्तियों की संख्या ज्ञात होती है।
  2. while लूप: जब पुनरावृत्तियों की संख्या पहले से ज्ञात नहीं होती है, तब उपयोग किया जाता है।
  3. do-while लूप: while के समान, लेकिन कम से कम एक निष्पादन की गारंटी देता है।

foreach लूप:

  • मानक C में समर्थित नहीं है।
  • foreach आमतौर पर C#, PHP, या Python जैसी भाषाओं में पाया जाता है।
  • C को for या while का उपयोग करके सरणियों या संरचनाओं पर हस्तचालित पुनरावृत्ति की आवश्यकता होती है।
Latest RRB JE Updates

Last updated on Jun 16, 2025

-> RRB JE CBT 2 answer key 2025 for June 4 exam has been released at the official website.

-> Check Your Marks via RRB JE CBT 2 Rank Calculator 2025

-> RRB JE CBT 2 admit card 2025 has been released. 

-> RRB JE CBT 2 city intimation slip 2025 for June 4 exam has been released at the official website.

-> RRB JE CBT 2 Cancelled Shift Exam 2025 will be conducted on June 4, 2025 in offline mode. 

-> RRB JE CBT 2 Exam Analysis 2025 is Out, Candidates analysis their exam according to Shift 1 and 2 Questions and Answers.

-> The RRB JE Notification 2024 was released for 7951 vacancies for various posts of Junior Engineer, Depot Material Superintendent, Chemical & Metallurgical Assistant, Chemical Supervisor (Research) and Metallurgical Supervisor (Research). 

-> The selection process includes CBT 1, CBT 2, and Document Verification & Medical Test.

-> The candidates who will be selected will get an approximate salary range between Rs. 13,500 to Rs. 38,425.

-> Attempt RRB JE Free Current Affairs Mock Test here

-> Enhance your preparation with the RRB JE Previous Year Papers

More Programming in C Questions

Get Free Access Now
Hot Links: lucky teen patti teen patti real cash 2024 teen patti master old version