Knowledge GateKnowledge Gate

Browse topics

  • GATE CS Preparation78
  • Placement Preparation25
  • MCQ Practice40
  • Government & Teaching Exams59
  • Programming Languages7
  • CS Fundamentals
  • Coding & Skills
  • Govt Teaching Jobs
  • Teaching Eligibility Tests
  • Govt Jobs
  • Banking & Insurance
  • PSUs
  • Railways
  • PG Entrance Exams
  • UGC NET
  1. Blog
  2. Programming Languages
  3. C

C

1 article in this topic

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 15 Jul 2026·5 min readC
KnowledgeGateKnowledgeGate

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

Explore

  • All Courses
  • Blog
  • Community

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
  • CS Fundamentals
  • PSU's
  • Govt Jobs
  • Govt Teaching Eligibility Tests
  • Banking & Insurance
  • Railways
  • PG Entrance Exams

© 2026 KnowledgeGate AI Private Limited. All rights reserved.