In this post we are going to study about a very important topic in the Programming world which are Arrays. If you are a coder then without proper knowledge of Arrays you will face many problems in coding. Now without wasting more time let's understand this topic. What are Arrays? Suppose you want to add... Continue Reading →
POINTERS IN C…
Note-: I have taken help from Yashvant Kanetkar Let Us C book and tutorialspoint site for covering this concept. You can visit tutorialspoint site or can buy Let Us C for deep understanding of C Language. You must have learned about functions and passing value between them. Consider ,sum=add(l,m);Here we are passing values of variables... Continue Reading →
PASSING VALUES BETWEEN FUNCTIONS…
Making a communication between calling and called function is called passing values to function. We can modify any user-defined function by passing our own values to it for processing. You must have used format strings and list of variables in printf() and scanf() statement inside the parentheses. These are called arguments. Arguments are the mechanism... Continue Reading →
BASICS OF FUNCTIONS IN C …..
Suppose we have written a code to calculate the area of a triangle in a section of our program. If we want to calculate the area of the triangle again in another section of our program than we have to write the same piece of code again. This process will become lengthy and complicated. For... Continue Reading →
WHILE LOOP IN C LANGUAGE …
WHAT ARE LOOPS? Suppose we want to print integer numbers from 1 to 10. Here we have to use printf statement 10 times which is a long and time taking process. For making it easy we use loops. Loops in C language provide us to repeat a piece of code again and again until our... Continue Reading →
SWITCH , BREAK AND CONTINUE STATEMENT IN C …
Hello Coders, I hope you all are doing great in Coding.ย In this blog, we are going to study about some statements in C Language which are commonly used while coding. 1.)BREAK AND CONTINUE STATEMENT-: a.)Break statement-: Sometimes we want to jump out of the loop when a certain condition is fulfilled without repeating the loop... Continue Reading →
If CONDITIONAL STATEMENT
What are Case control instructions ? We need to make decision in every aspect of life , like Whether to buy android or Iphone , watch television or play PUBG , support T-Series or Pewdiepie . Like this we sometime need to take decision in programming world for performing specific operation . For making decision... Continue Reading →
MORE BASIC PROGRAMS TO PRACTISE IN C
PROGRAM 1. If length and breadth of rectangle are entered through keyboard , write a program to find area and perimeter of rectangle .ย CODING-: ย ย ย ย ย ย ย ย ย ย #include<stdio.h> ย ย ย ย ย ย ย ย ย ย #include<conio.h> ย ย ย ย ย ย ย ย ย ย void... Continue Reading →
UNDERSTAND BASIC PROGRAM IN C
BASIC C PROGRAMS 1.)ย Program to print HELLO WORLD. #include<stdio.h> #include<conio.h> void main() { clrscr(); printf("HELLO WORLD\n"); getch(); } Before understanding C program we must understand some rules of C language -: Each statement must be written in separate line. Program should be written in lowercase letter. Statement must be written in order in which we... Continue Reading →
C LANGUAGE BASICS
Lets begin our journey in C language ........Understanding C language is very easy and interesting . All you need to know is basic fundamentals properly.It is very similar to understanding english language as -:In English language we first learn alphabets , then form words from them , and then sentences and from sentences a paragraph.... Continue Reading →