HomeQus & AnswerC Programming Questions with Answers – 100 Practice Questions

C Programming Questions with Answers – 100 Practice Questions

5/5 - (14 votes)

C Programming Questions with Answers – 100 Practice Questions

Syllabus clarification: This page contains 100 C-programming practice questions. NIELIT O Level M3-R5 is Programming and Problem Solving through Python; these C questions are not a current M3-R5 Python question bank. For the current module overview, see O Level course syllabus. Use the questions below for C-language concepts and programming practice.

📞 VedantSri Varanasi में computer course करना है? fees, batch timing या admission के लिए सीधे कॉल कीजिए:
Durgakund 8808888478Rathyatra 9415802061दोनों शाखाएँ सोमवार–शनिवार सुबह 7 से रात 8 बजे तक खुली हैं। कोर्स की जानकारी के लिए Durgakund 8808888478 और Rathyatra 9415802061 पर सातों दिन, किसी भी समय कॉल कर सकते हैं।

यदि आप O Level के अन्य पेपर जैसे M1-R5 (IT Tools and Business Systems), M2-R5 (Internet Technology and Web Design), M4-R5 (IoT and Applications) या PR-1 Project की तैयारी करना चाहते हैं, तो उनके Questions with Answers भी अलग से पढ़ सकते हैं। VedantSri द्वारा तैयार किये गये Notes, Mock Tests, Online Practice Sets और Exam Preparation सामग्री विद्यार्थियों को बेहतर Result और Career Growth में सहायता करती है।

📍 Varanasi में Python / Coding / Web Design सीखना है?
VedantSri Computer Institute — Durgakund और Rathyatra ब्रांच · लैब में रोज़ प्रैक्टिस · हिंदी/English
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Introduction to Programming एवं Algorithm Related Questions

Q1. Programming क्या है?

Answer: किसी समस्या को हल करने के लिए Step-by-Step Instructions लिखने की प्रक्रिया को Programming कहते हैं।

Q2. Algorithm क्या होता है?

Answer: किसी समस्या के समाधान हेतु लिखे गए क्रमबद्ध Steps को Algorithm कहते हैं।

Q3. Flowchart क्या है?

Answer: किसी Algorithm का Graphical Representation Flowchart कहलाता है।

Q4. Compiler क्या होता है?

Answer: Compiler High Level Language को Machine Language में Convert करता है।

Q5. Interpreter क्या है?

Answer: Interpreter Program को Line by Line Execute करता है।

Q6. Bug क्या होता है?

Answer: Program में उपस्थित Error को Bug कहते हैं।

Q7. Debugging क्या है?

Answer: Program से Errors हटाने की प्रक्रिया Debugging कहलाती है।

Q8. Syntax Error क्या है?

Answer: Language Rules के विरुद्ध लिखी गई गलती Syntax Error कहलाती है।

Q9. Logical Error क्या होता है?

Answer: जब Program Execute हो जाए लेकिन गलत Output दे तो उसे Logical Error कहते हैं।

Q10. Runtime Error क्या होता है?

Answer: Execution के समय आने वाली Error Runtime Error कहलाती है।

About O Level Course, Top 1 Best Syllabus, Duration, Fees, Scope, Institute, and Jobs in Varanasi

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Introduction to C Language Related Questions in O Level

Q11. C Language किसने विकसित की?

Answer: Dennis Ritchie ने C Language विकसित की।

Q12. C Language कहाँ विकसित हुई?

Answer: Bell Laboratories में विकसित हुई।

Q13. C Language किस प्रकार की Language है?

Answer: यह General-purpose structured programming language है।

Q14. Header File क्या होती है?

Answer: Header File में Built-in Functions की Definitions होती हैं।

Q15. stdio.h का उपयोग क्या है?

Answer: Input एवं Output Functions के लिए stdio.h उपयोग किया जाता है।

Q16. main() Function क्या है?

Answer: Program Execution main() Function से शुरू होता है।

Q17. printf() function का उपयोग क्या है?

Answer: स्क्रीन पर Output दिखाने के लिए printf() का उपयोग होता है।

Q18. scanf() Function क्या करता है?

Answer: User से input लेने के लिए scanf() का उपयोग होता है।

Q19. Escape Sequence क्या है?

Answer: विशेष Characters को प्रदर्शित करने के लिए Escape Sequences का उपयोग होता है।

Q20. \n का उपयोग क्या है?

Answer: नई लाइन में जाने के लिए \n उपयोग किया जाता है।

CCC Course Fees, Syllabus, Duration, Scope, Jobs, and Institute in Varanasi

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Data Types and Variables Related Questions in O Level

Q21. Variable क्या है?

Answer: Data Store करने के लिए उपयोग होने वाला नाम Variable कहलाता है।

Q22. int data type क्या है?

Answer: Integer values store करने हेतु int का उपयोग होता है।

Q23. float data type किसलिए उपयोग होता है?

Answer: Decimal values store करने के लिए float का उपयोग होता है।

Q24. char Data Type क्या Store करता है?

Answer: Single Character Store करता है।

Q25. Constant क्या होता है?

Answer: जिसका मान बदल नहीं सकता, उसे Constant कहते हैं।

Q26. Identifier क्या है?

Answer: Variables, Functions आदि के नाम Identifier कहलाते हैं।

Q27. Keyword क्या होता है?

Answer: C Language के Reserved Words को Keyword कहते हैं।

Q28. sizeof Operator क्या करता है?

Answer: किसी Variable या Data Type का Size बताता है।

Q29. Type Casting क्या है?

Answer: एक Data Type को दूसरे Data Type में बदलना Type Casting कहलाता है।

Q30. Initialization क्या है?

Answer: Variable को प्रारंभिक मान देना Initialization कहलाता है।

DIT Course Details, Fees, Duration, Scope, Syllabus, Admission, Institutes & Jobs

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Operators Related Questions in O Level

Q31. Arithmetic Operators कौन-कौन से हैं?

Answer: +, -, *, /, % Arithmetic Operators हैं।

Q32. Relational Operators क्या करते हैं?

Answer: दो Values की तुलना करते हैं।

Q33. Logical Operators कौन-कौन से हैं?

Answer: &&, ||, ! Logical Operators हैं।

Q34. Increment Operator क्या है?

Answer: Variable की Value 1 बढ़ाने के लिए ++ उपयोग होता है।

Q35. Decrement Operator क्या है?

Answer: Variable की Value 1 घटाने के लिए — का उपयोग होता है।

Q36. Assignment Operator क्या है?

Answer: Value Assign करने के लिए = उपयोग होता है।

Q37. Modulus Operator क्या करता है?

Answer: Division का Remainder देता है।

Q38. Unary Operator क्या है?

Answer: जो एक Operand पर कार्य करे उसे Unary Operator कहते हैं।

Q39. Ternary Operator क्या है?

Answer: Conditional Expression हेतु?: उपयोग किया जाता है।

Q40. Bitwise Operators का उपयोग कहाँ होता है?

Answer: Binary Level Operations में उपयोग होता है।

DCA Course Fees, Duration, Scope, Syllabus, Admission, Institutes & Jobs in Varanasi

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Conditional Statements and Loops Related Questions in O Level

Q41. if Statement क्या है?

Answer: Condition True होने पर Statements Execute करने हेतु if उपयोग होता है।

Q42. if-else Statement क्या है?

Answer: Condition True या False दोनों स्थितियों में अलग-अलग Statements Execute करता है।

Q43. Nested if क्या होता है?

Answer: एक if के अंदर दूसरा if लिखना nested if कहलाता है।

Q44. switch statement का उपयोग क्या है?

Answer: Multiple Conditions Check करने हेतु switch का उपयोग होता है।

Q45. Loop क्या होता है?

Answer: किसी Statement को बार-बार Execute करना Loop कहलाता है।

Q46. for loop क्या है?

Answer: निश्चित बार दोहराव के लिए for Loop उपयोग होता है।

Q47. While loop क्या है?

Answer: Condition True रहने तक Loop Execute होता है।

Q48. do-while Loop की विशेषता क्या है?

Answer: यह कम से कम एक बार अवश्य Execute होता है।

Q49. break Statement क्या करता है?

Answer: Loop को तुरंत समाप्त कर देता है।

Q50. continue statement क्या करता है?

Answer: Current Iteration छोड़कर अगले Iteration पर चला जाता है।

Top 3 Computer Diploma Courses, 6 Months of Computer Diploma, After 12th Pass Out Computer Courses

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Functions Related Questions in O Level

Q51. Function क्या है?

Answer: Specific Task करने वाला Code Block Function कहलाता है।

Q52. Library Function क्या है?

Answer: Predefined Functions को Library Functions कहते हैं।

Q53. User-Defined Function क्या है?

Answer: Programmer द्वारा बनाए गए Functions User Defined Functions कहलाते हैं।

Q54. Function Prototype क्या है?

Answer: Function Declaration को Function Prototype कहते हैं।

Q55. Return Type क्या होता है?

Answer: Function कौन सा Data लौटाएगा, उसे Return Type कहते हैं।

Q56. Recursive Function क्या है?

Answer: जो Function स्वयं को Call करे उसे Recursive Function कहते हैं।

Q57. Call by Value क्या है?

Answer: Value की Copy Function में भेजी जाती है।

Q58. Call by Reference क्या है?

Answer: Original Address Function में भेजा जाता है।

Q59. void Function क्या है?

Answer: जो कोई value return न करे उसे void function कहते हैं।

Q60. Argument क्या होता है?

Answer: Function में भेजी जाने वाली Value Argument कहलाती है।

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Arrays Related Questions in O Level

Q61. Array क्या है?

Answer: समान Data Type के Multiple Elements का Collection Array कहलाता है।

Q62. One-Dimensional Array क्या है?

Answer: Single Index वाला Array One-Dimensional Array कहलाता है।

Q63. Two-Dimensional Array क्या है?

Answer: Row और Column वाला Array Two-Dimensional Array कहलाता है।

Q64. Array Index कहाँ से शुरू होता है?

Answer: Array Index 0 से शुरू होता है।

Q65. Character Array क्या कहलाता है?

Answer: Character Array को String कहते हैं।

Q66. gets() function का उपयोग क्या है?

Answer: String Input लेने के लिए उपयोग होता है।

Q67. puts() Function क्या करता है?

Answer: String Output Display करता है।

Q68. strlen() Function क्या करता है?

Answer: String की Length ज्ञात करता है।

Q69. strcpy() function का उपयोग क्या है?

Answer: एक String को दूसरी String में Copy करता है।

Q70. strcat() Function क्या करता है?

Answer: दो Strings को जोड़ता है।

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Pointers Related Questions in O Level

Q71. Pointer क्या है?

Answer: Variable का Address Store करने वाला Variable Pointer कहलाता है।

Q72. Address Operator कौन सा है?

Answer: & Address Operator है।

Q73. Dereference Operator कौन सा है?

Answer: * Dereference Operator है।

Q74. Null Pointer क्या है?

Answer: ऐसा Pointer जो किसी Valid Address को Point न करे।

Q75. Pointer Arithmetic क्या है?

Answer: Pointer पर Arithmetic Operations करना Pointer Arithmetic कहलाता है।

Q76. Pointer to Pointer क्या होता है?

Answer: ऐसा Pointer जो दूसरे Pointer का Address Store करे।

Q77. Dangling Pointer क्या है?

Answer: Invalid Memory को Point करने वाला Pointer Dangling Pointer कहलाता है।

Q78. Wild Pointer क्या होता है?

Answer: Uninitialized Pointer को Wild Pointer कहते हैं।

Q79. malloc() function क्या करता है?

Answer: Dynamic Memory allocate करता है।

Q80. free() function का उपयोग क्या है?

Answer: Allocated Memory को Release करता है।

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

Structures, Unions and Linked Lists Related Questions in O Level

Q81. Structure क्या है?

Answer: विभिन्न Data Types को एक साथ Store करने हेतु Structure का उपयोग होता है।

Q82. Structure Keyword क्या है?

Answer: struct keyword structure बनाने के लिए उपयोग होता है।

Q83. Union क्या है?

Answer: Union में सभी Members एक ही Memory Share करते हैं।

Q84. Structure और Union में अंतर क्या है?

Answer: Structure में अलग Memory मिलती है जबकि Union में Shared Memory होती है।

Q85. Self-Referential Structure क्या है?

Answer: ऐसा Structure जो स्वयं का Pointer रखे।

Q86. Linked List क्या है?

Answer: Nodes से बनी Dynamic Data Structure Linked List कहलाती है।

Q87. Node क्या होता है?

Answer: Linked List का प्रत्येक Element Node कहलाता है।

Q88. Singly Linked List क्या है?

Answer: जिसमें प्रत्येक Node अगले Node को Point करे।

Q89. Doubly Linked List क्या है?

Answer: जिसमें Previous और Next दोनों Links हों।

Q90. Circular Linked List क्या है?

Answer: जिसमें अंतिम Node पहले Node से जुड़ा हो।

C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri
C Programming Questions with Answers – 100 Practice Questions Pradip VedantSri

File Processing and Storage Classes Related Questions in O Level

Q91. File क्या है?

Answer: Data Store करने का Permanent माध्यम File कहलाता है।

Q92. fopen() Function क्या करता है?

Answer: File Open करने हेतु उपयोग होता है।

Q93. fclose() function का उपयोग क्या है?

Answer: File Close करने के लिए उपयोग होता है।

Q94. fprintf() function क्या करता है?

Answer: File में Formatted Output लिखता है।

Q95. fscanf() Function क्या करता है?

Answer: File से Formatted Input पढ़ता है।

Q96. EOF क्या होता है?

Answer: End Of File को EOF कहते हैं।

Q97. Storage Class क्या है?

Answer: Variable की Scope एवं Lifetime निर्धारित करने वाली व्यवस्था Storage Class कहलाती है।

Q98. auto Storage Class क्या है?

Answer: यह Default Local Variable Storage Class है।

Q99. static Variable क्या होता है?

Answer: जिसकी Value Program के अंत तक बनी रहे।

Q100. extern Keyword क्या करता है?

Answer: Global Variable को अन्य Files में Access करने हेतु extern का उपयोग होता है।

Conclusion

VedantSri द्वारा तैयार किये गए ये O Level M3-R5 Programming and Problem Solving Through C Language Questions with Answers विद्यार्थियों को 2026 परीक्षा की बेहतर तैयारी, Concept Clarity, Viva Practice, Programming Logic Building तथा Important Theory Revision में अत्यधिक सहायता करेंगे। Q1 से Q100 तक दिए गए Questions केवल M3-R5 Syllabus पर आधारित हैं, जिससे छात्र बिना किसी भ्रम के सही दिशा में तैयारी कर सकते हैं। नियमित Practice, Mock Tests, Programming Exercises और Previous Year Pattern के साथ अध्ययन करने पर विद्यार्थी O Level Exam में उत्कृष्ट अंक प्राप्त कर अपने IT Career को मजबूत बना सकते हैं।

📍 Varanasi में Python / Coding / Web Design सीखना है?
VedantSri Computer Institute — Durgakund और Rathyatra ब्रांच · लैब में रोज़ प्रैक्टिस · हिंदी/English
VedantSri Sessional Reward Ceremony Toppers Students Image
VedantSri Sessional Reward Ceremony Toppers Students
3,536FansLike
11,855FollowersFollow
492FollowersFollow
2,120,000SubscribersSubscribe