C Language Basics For Beginners 2018

C Language Basics For Beginners 2019 in this topic today We Will Discuss about C Language Basics Which Helpful For Beginners in Information Technology Field Or In Any Other Computer Science Field , Because C Language is Root Language in Computer Science Fields . C Language is Like [ ABCD – XYZ ] in Coding World .

Some Computer Fields Example –

BCA – Bachelors in Computer Application .
Andriod App Devlopment .
JAVA .
Programming , Coding ETC .
In All Above Carrier Fields You Must Have Some Basic Knowledge of C Language For Understanding And Learning For Other Programming Languages .

Evolution Of Programming Languages


1957 FORTAN [ Formula Translation ]
1960 ALGOL [ Algorithm Based ]
1963 BCPL [ Basic Combine Programming Language ]
1967 CPL [ Combine Programming Language ]
Assembler In
1970 B Language [ By Martin Richards ]
1972 C Language [ By Denis Ritchie ]

Computers Are Divided into Two parts –
Hardware – Harddrive , Speakers Etc .
Software – OS / Linux Etc .
Computer Languages Divided in Four Basis –
Programming
(A) Business Logic
(B) Code Construction
These are Divided into Two Types –
Local – C , C++ , JAVA , .NET Etc .
Global – JAVA , .NET , PHP

1.Structure – Backend , Data Store

Example – My SQL SERVER Etc .

2.Scripting – Client Side , Validation On The Web Page

JAVA SCRIPT
VB SCRIPT
J Query

3.Mark Up – Tag <> Based

HTML – Presentation
XML – Data Transfer
There Are Three Types Of Translator Given Below –
Assembler – Single Character To Single Character in Lowest Speed .
Interpretor – Single Row To Single Row in Medium Speed .
Compiler – Whole Code in Highest Speed .
In Below There is An Demo Of C , To Understand Practically How C Language Works –
I Mention Below Some C Language Codes Which Can Make Calculator in Notepad , And You Have To Compile That Coding in Command Prompt CMD in Your Computer .

Now See The Coding Below And Follow Steps Below –

Code in Notepad

#include <stdio.h>
#include <conio.h>

int main()
{int a,b,c;
int d;
printf(“\nChoice 1 = Addition”);
printf(“\nChoice 2 = Substraction”);
printf(“\nChoice 3 = Multiplication”);
printf(“\nChoice 4 = Division “);
printf(“Enter Your Choice Where -> “);
scanf(“%d”,&d);printf(“Enter I and II Number “);
scanf(“%d %d”,&a,&b);
if (d==1)
{
c=a+b;
printf(“The Addition Of Both Number Is %d”,c);
}
if (d==2)
{
c=a-b;
printf(“The Subtraction Of Both The Numbers Is %d”,c);
}
if (d==3)
{c=a*b;
printf(“The Muliplication Of Both The Numbers Is %d”,c);
}
if (d==4)
{ c=a/b;
printf(“The Division Of Both The Numbers Is %d”,c);
}
if (!(d==1 || d==2 || d==3 || d==4 ))
{
printf(“Wrong Choice Enterd”);

}
return 0;
}

File Save As in [ .c ] Example – Calculator.c
After Where The File is Saved , You Can See an Calculator Open File Option Come [ Like An EXE Type File ] Of That ( Calculator.c ) File Which You Saved Eairler . Example – Calculator.c –> Calculator [ Exe CMD File ] .
Select And Open Demo [ Exe Looking Type File ] .
It Will Display The Calculator File That You Have Made .


For Any Other Questions And Other Suggestions –> Comment Below