Knowledge Gate
Ask Me Anything⌘K
CartChat
Sign in

Browse topics

  • GATE CS Preparation24
  • Placement Preparation98
  • MCQ Practice211
  • CS Fundamentals200
  • Coding & Skills150
    • Web Development17
    • DSA & Algorithms31
    • ML & Data Science17
    • Programming Languages85
      • Java18
      • Python17
      • C17
      • C++16
      • Programming Languages Survey16
  • Govt Teaching Jobs98
  • Teaching Eligibility Tests32
  • Govt Jobs57
  • Banking & Insurance84
  • PSUs28
  • Railways11
  • PG Entrance Exams28
  • UGC NET33
  1. Blog
  2. Coding & Skills
  3. Programming Languages
  4. C

C

17 articles in this topic

Command Line Arguments in C: argc and argv Tutorial with Runnable Examples

Learn how argc and argv carry command line input into a C program, then practise argument tracing, numeric conversion, validation, and common fixes.

Updated 30 Jul 2026·5 min read·58 viewsC

C Tutorial: The Complete Learning Path from First Program to Pointers and Projects

Learn C in dependency order, from compiling your first program to understanding pointers, allocating memory, reading files, and completing a useful project.

Updated 27 Jul 2026·6 min readC

File Handling in C: fopen Modes, fscanf vs fgets and the Predict-the-Output Questions

Trace one text file byte by byte to see what fopen returns, where fscanf stops, why fgets may read a blank line and how to write a correct input loop.

Updated 25 Jul 2026·7 min readC

Structures and Unions in C: Padding, Alignment and Worked sizeof Problems for GATE

Calculate structure and union sizes byte by byte, see where padding enters, and learn how member order changes the result.

Updated 22 Jul 2026·7 min readC

Functions in C: Call by Value vs Simulated Call by Reference and the Swap Question Family

See why a normal C swap changes only local copies, then trace the pointer version and the aliasing, increment, array, struct, and lifetime traps around it.

Updated 20 Jul 2026·6 min readC
Previous12
KnowledgeGateKnowledgeGate

India's AI-powered learning platform for GATE, PSUs, UGC-NET, placements and coding.

Explore

  • All Courses
  • Blog
  • Community
  • KARTAVYA

Company

  • About Us
  • Careers
  • Contact Us
  • Feedback
  • System Status

Legal

  • Privacy Policy
  • Terms of Service
  • Refund Policy

Explore by category

  • Free Courses
  • GATE
  • NET
  • Govt Teaching Jobs
  • Placement Preparation
  • Coding & Skills
  • Computer Science Fundamentals
  • PSU's
  • Govt Jobs
  • Govt Teaching Eligibility Tests
  • Banking & Insurance
  • Railways
  • PG Entrance Exams

© 2026 KnowledgeGate AI Private Limited. All rights reserved.