#8 C Programming Exercise 💻||C Language Tutorial 👨‍🏫📓#shorts #coding



#8 C Programming Exercise 💻||C Language Tutorial 👨‍🏫📓#shorts #coding

#8 C Programming Exercise 💻||C Language Tutorial 👨‍🏫📓#shorts #coding

Title:- C programming Exercise 💻||C Language Tutorial 👨‍🏫📓#shorts #coding

About C:-
°°°°°°°°°°°°°°
The C Language is developed by Dennis Ritchie in 1972 at the Bell Telephone Laboratories for creating system applications that directly interact with the hardware devices.C is the most widely used computer language.

Why To Learn C Programming
°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
C programming language is a MUST for students and working professionals to become a great Software Engineer specially when they are working in Software Development Domain. I will list down some of the key advantages of learning C Programming:

Easy to learn
Structured language
It produces efficient programs
It can handle low-level activities
It can be compiled on a variety of computer platforms

Fact About C
°°°°°°°°°°°°°°°°°°
C was invented to write an operating system called UNIX.

C is a successor of B language which was introduced around the early 1970s.

The language was formalized in 1988 by the American National Standard Institute (ANSI).

The UNIX OS was totally written in C.

Today C is the most widely used and popular System Programming Language.

Most of the state-of-the-art software have been implemented using C.

Semicolons
°°°°°°°°°°°°°°
In a C program, the semicolon is a statement terminator. That is, each individual statement must be ended with a semicolon. It indicates the end of one logical entity.

Identifiers
°°°°°°°°°°°°
A C identifier is a name used to identify a variable, function, or any other user-defined item. An identifier starts with a letter A to Z, a to z, or an underscore ‘_’ followed by zero or more letters, underscores, and digits (0 to 9).

C does not allow punctuation characters such as @, $, and % within identifiers. C is a case-sensitive programming language. Thus, Manpower and manpower are two different identifiers in C. Here are some examples of acceptable identifiers −
mohd zara abc move_name a_123 myname50 _temp j a23b9

Keywords
°°°°°°°°°°°°
The following list shows the reserved words in C. These reserved words may not be used as constants or variables or any other identifier names.

auto else long switch break enum register typedef case extern return union char float short unsigned const for signed void continue goto sizeof volatile default if static while do intstruct _Packed double

printf() and scanf() in C
°°°°°°°°°°°°°°°°°°°°°°°°°°°°
The printf() and scanf() functions are used for input and output in C language. Both functions are inbuilt library functions, defined in stdio.h (header file).

printf() function
°°°°°°°°°°°°°°°°°°°
The printf() function is used for output. It prints the given statement to the console.

The syntax of printf() function is given below:

printf(“format string”,argument_list);  

The format string can be %d (integer), %c (character), %s (string), %f (float) etc.

scanf() function
°°°°°°°°°°°°°°°°°°°
The scanf() function is used for input. It reads the input data from the console.

scanf(“format string”,argument_list);  

#shorts
#youtubeshorts
#programming
#cprogramming
#Codecode
#coding