Introduction:
Hello! I’m Adhyan Jain, a B.Tech. Computer Science Engineering student from VIT Vellore. I’m starting my coding journey today, and I've decided to document my progress along the way. The goal is not just to track my growth but to showcase my commitment to learning and improving my skills, which I hope will resonate with recruiters as I work towards securing an internship in the tech field.
Today marks Day 1 of my C programming journey, which I’m starting as part of my coding roadmap. Though I have prior experience with Python, C is a new challenge for me, and I’m looking forward to diving deeper into it. I plan to focus on one topic at a time, starting with the fundamentals of C, and moving into more advanced concepts. Through this journey, I will be posting my daily progress and mini-projects, which will help me reflect on what I've learned and share my coding experience.
Day 1: C Programming – Getting Started
Today, I began my C programming adventure by working on a few basic programs to get familiar with the syntax and functionality of the language. Here’s what I worked on:
Hello World Program
The first task was to write a simple program that displays "Hello, World!" on the terminal. In C, this requires more setup than in Python, but it’s a good starting point for understanding how the language works.Taking User Input
I then worked on a program that takes the user's name as input and displays it back. This was simple but an important exercise in understanding how to handle input and output in C.Basic Arithmetic Operations
I wrote a program to perform basic arithmetic operations (addition, subtraction, multiplication, and division) based on user input. Handling arithmetic operations in C helped me get a better grasp of how C handles data types and arithmetic.Swapping Two Numbers
I wrote a program to swap two numbers with and without a temporary variable. This exercise helped me get familiar with working with variables and understanding memory management in C.Performing Operations on Two Numbers
I created a program that takes two numbers as input and calculates their sum, difference, and product. This reinforced my understanding of working with multiple variables and basic arithmetic in C.Hackerrank Practice
In addition to the C programs, I also completed a few problems on HackerRank to practice what I’ve learned so far. These problems focused on basic input/output, arithmetic operations, and conditional statements. Solving these problems was a great way to apply my knowledge in a more interactive environment.
Where I Learned From:
- I’ve been learning C programming from CodeWithHarry's YouTube channel, which provides clear explanations and practical examples.
- For quick references and deeper understanding of certain concepts, I also rely on W3Schools' website.
- To practice and test my knowledge, I regularly visit HackerRank, where I work on problems related to C programming and algorithm challenges.
What Went Well:
- Basic Logic: Applying basic programming logic was easier than I expected, as this isn’t my first time programming. The concepts of variables, operators, and basic arithmetic made sense.
- Problem Solving: While the syntax was new, I enjoyed solving basic tasks and applying familiar logic to C, making the transition a bit smoother.
Challenges I Faced:
- Syntax Differences: It took more lines of code than I expected, especially compared to Python. This was a bit confusing at first, but I’m getting used to the more verbose syntax in C.
- Division in C: I had to be cautious with division, especially since Python handles it more intuitively for beginners.
Looking Ahead:
I’m excited to continue my journey with C programming. Over the next few days, I plan to tackle more advanced topics like control flow, loops, and functions. I’ve saved all my work so far on GitHub, so feel free to check out my progress https://github.com/adhyan-jain/C-CodeVault.git
Also check out my linkedIn https://www.linkedin.com/in/adhyan-jain-5703411b8/
I’ll continue updating this blog with my daily progress, reflecting on what I’ve learned and the challenges I face along the way. Stay tuned for more updates!
A new blog will be posted every Tuesday.
Top comments (0)