How To Learn Basic C-programming within 45 Days

Swarit Mahalsekar
4 min readFeb 6, 2020

The basic concepts of c-programming can be learned very easily within very short span

Now-a-days programming has became one of the most important aspect in each and every field. You can see programming each and every day directly or indirectly.Programming reduces the human effort.

For example if you want to open the door you can code servo motor or any motor,connect that motor to the output of Ultrasonic or IR sensor and then connect that motor via some mechanism to that door. So without any touch the door can be easily open,well this was very simple example .

The important thing is that you should at-least be able to code in ‘c’.For that you need to develop some unique logics to solve the problem statement. To develop such logics you need to practice it on regular intervals.

Some of you won’t like programming but now you can learn basic ‘c’-programming by following the plan given below.Even I had followed the same plan and got the best results

FULL PLANING OF C-PROGRAMMING :-

@ Day (1–2):-
Conversion of numbers
[binary to decimal,hexadecimal,etc]

@ Day (3–4):-
Study different data types
[Eg:-int,char,double,float]
Study there properties,ranges,memory,
requirement,etc.
Just get a rough idea were you can use it

@ Day (5):-
Study modifiers to modify range.
And revise all the concepts studied

@ Day(6–10):-
Get information about different libraries
available in c.

study the predefined functions available
in that libraries.

{ For Eg:- Library:- #include<stdio.h> has
functions like Scanf(), Printf()

@ Day(11–12):-
Study different operators and it’s uses
practice some numericals

{ For Eg:-Division,Modulus,etc }

After day-12 start reading the book mentioned below or its equivalent book.Every Engineering as well as first time programmer can use this book because concepts explained here are quiet good and language is quiet simple

@ Day(13–16):-
Download Turbo c or any other software
start practicing basic

arithematic programs like addition
subtraction,etc.

First try to write the code on notepad
then copy paste it on software run it.

If there are some errors(bugs).
Try to debug it on your own.

Understand the whole code where
you are going wrong

and if nothing goes wrong you
are on the right track.

If your code is running properly
within firstgo without any

errors then you are the happiest
person of the world.

@ Day(17–20):-
Try to build a single code in which
different operators are used,

with different libraries and functions.

{ For Eg:-let’s say you have a problem
statement,to check

whether the triangle is
Right Angled Triangle or not

then the logic would be as follows

3 libraries:- #include<stdio.h> ;
#include<conio.h>;

Functions :- prinf();Scanf()

Logic with :- a*a==b*b+c*c||

Different b*b==a*a+c*c||

Operators c*c==a*a+b*b

@ Day(21–23):-
Study Branching(If,If Else,Switch) Statements.

@ Day(24–26):-
Study Looping(while,Do while,for) Statements.

@ Day(27) :-
Study unconditional jump(Break,Continue,Goto) Statements.

@ Day(28) :-
Get information about user
defined functions and try

There are 2 types of functions
a) pre-defined b) user-defined

Example of Pre-defined function is
given in Day(6–10)

User-defined Functions:-
are those which are defined by user

@ Day(29–35):-
Try to Run code to display
prime numbers,perfect numbers,

Armstrong numbers,palindrome numbers
,fibonacci series,different patterns,etc
by using user defined functions

this will really test your thinking skills,
logic development,etc.

Practice lot on patterns if you
want to improve you skills
of programming

Eg:- 1) * | 2) A |

** | AA |

*** | AAA |

**** | AAAA |

@ Day(36–38) :-
Study the concept of pointers,call by value
and call by reference and study it’s uses

@ Day(39–45):-
Study the concept of Array,
for studying array you should

have basic idea about
concept of of matrices in maths,

just study were and how it can
be used,it’s uses and functionality.

Then learn 1D(Dimensional)
& MultiDimensional Array.

Start Programming some
basic codes of Arrays if some

error occurs try to debug
it on your own.

Study the concept of string
find the difference between arrays

Start Programming some basic
codes of string if some error

occurs try to debug it on your own.

Originally published at https://www.practical-buddy.xyz on February 6, 2020.

--

--

Swarit Mahalsekar
0 Followers

I'm very much interested in analog electronics. I like to share and take knowledge regarding this field. I had my own site:-www.practical-buddy.xyz (Analog Ele)