_๐ _๐ป๐๐๐๐๐๐๐๐๐☠ _ known as mother☠ โฑ ₳₦₲ษ₳₲ษ.._
๐จ๐ฎ๐ซ ๐ข๐ง๐ญ๐๐ง๐ญ๐ข๐จ๐ง ๐ข๐ฌ ๐จ๐ง๐ฅ๐ฒ ๐๐๐ฎ๐๐๐ญ๐ข๐จ๐ง☠️
Ritchei for creating system application
that directly interact with the hardwere
devices such as drivers __
๐๐ป๐๐ป๐๐ป๐๐ป
:- C programming is considered as the base for other programming languages, that is why it is known as mother language.
:- It can be defined by the following ways:
- Mother language
- System programming language
- Procedure-oriented programming language
- Structured programming language
- Mid-level programming language
:- Features of C Language..
:- C is the widely used language. It provides many features that are given below.๐๐ป
- Simple
- Machine Independent or Portable
- Mid-level programming language
- structured programming language
- Rich Library
- Memory Management
- Fast Speed
- Pointers
- Recursion
- Extensible..
Note:- ๐๐ป๐๐ป Search on Google to know about it๐๐ป..__
How to install C
:- There are many compilers available for c and c++. You need to download any one. Here, we are going to use Turbo C++. It will work for both C and C++. To install the Turbo C software..!
- Download Turbo C++
- Create turboc directory inside c drive and extract the tc3.zip inside c:\turboc
- Double click on install.exe file
- Click on the tc application file located inside c:\TC\BIN to write the c program
Download Turbo C++ software
You can download turbo c++ from many sites. Download turbo c++
Create turboc directory in c drive and extract the tc3.zip๐๐ป
:- Now, you need to create a new directory turboc inside the c: drive. Now extract the tc3.zip file in c:\truboc directory.
: - First C Program๐๐ป
To write the first c program, open the C console and write the following code:๐
#include <stdio.h> int main()
{ printf("Hello"); return 0;
}
:- #include <stdio.h> includes the standard input output library functions. The printf() function is defined in stdio.h .
int main() The main() function is the entry point of every program in c language.
printf() The printf() function is used to print data on the console.
return 0 The return 0 statement, returns execution status to the OS. The 0 value is used for successful execution and 1 for unsuccessful execution.
:- Compilation process in c
What is a compilation?
:- The compilation is a process of converting the source code into object code.The c compilation process converts the source code taken as input into the object code or machine code. The compilation process can be divided into four steps, i.e., Pre-processing, Compiling, Assembling, and Linking...
Comments
Post a Comment