Posts

Showing posts with the label C Programming Theory

Top 10 Programming Language to learn in 2023

Are you a programming enthusiast looking to stay ahead of the curve in 2023? With the ever-evolving tech landscape, keeping up with the Best Programming Language to learn can be a daunting task. Fear not, as we have compiled a list of the top 10 Programming Languages that you should consider learning in 2023. Python: This versatile language continues to dominate in 2023, with its ease of use, readability, and a vast library of modules. JavaScript: As web development grows increasingly popular, JavaScript remains a crucial player, with its ability to create dynamic and interactive web pages. Java: This language has stood the test of time and remains a popular choice for enterprise software development. C++: A staple in the gaming and systems development industries, C++ offers exceptional performance and memory management. Swift: Apple's preferred language for iOS app development, Swift continues to grow in popularity with its simplicity and reliability. R: As data science and machin...

Functions | Recursion Function in C Programming | Types of Functions | Calling Function | Function Arguments | C Programming

Image
Functions                     A function is a self-contained program segment that carries out same specific well defined task.                 In other words, a number of statements grouped into a single logical unit is referred to as a function.                 A function will have carried out its intended action whenever it is accessed (i.e. wherever the function is “called”) from some other portion of the program.                 Some function can be accessed from several different places with in a program. Once the function has carried out its intended action control will be returned to the point from which function was accessed.           ...

Introduction to C Programming | C Programming

Image
Introduction to C Programming ±    C is a general-purpose high level language ±    Father of C – Dennis Ritchie ±    Originally developed for the UNIX operating system ±    Implemented on the Digital Equipment Corporation, PDP-11 computer in 1972 ±    The UNIX operating system and all UNIX applications are written in the C language   C has now become a widely used professional language for various reasons: ±     Easy to learn ±     Structured language ±     It produces efficient programs ±     It can handle low-level activities ±     It can be compiled on a variety of computers Why we use C? ±    C was initially used for system development work, in particular the programs that make-up the operating system ±    C was adopted as a system development language because it produces code that runs nearly ...

Escape Sequence in C Programming | C Programming

Image
Escape Sequences in C Programming:- An escape sequence always begins with backward slash and is followed by one or more special characters.  For example:- a line feed (LF), which is referred to as new line in C can be represented as \n. Backslash character constants are special characters used in output functions. Although they contain two characters they represent only one character.

Identifiers and Keywords in C Programming | C Programming Language

Identifiers in C Identifiers refers to the name given to the entities such as variables, functions, structures etc. Identifiers must be unique. They are created to give unique name to the entity to identify it during the execution of the program. For example:- int money; double account balance; Here, money and account balance are identifiers. Rules of writing identifiers First character must be an alphabet (or underscore) Identifier names must consists of only letters, digits and underscore. An identifier name should have less than 31 characters.  Any standard C language keyword cannot be used as a variable name. An identifier should not contain a space.  Keywords in C-: Key words are predefined, reserved words used in programming that have special meanings to the compiler. Keywords are the part of the syntax and they cannot be used as an identifier.  For example:-  int money; Here, int is the keyword that indicates money is a vari...

Popular posts from this blog

Eliminating Epsilon transition (ε-Transitions) | Conversion of Epsilon-NFA to DFA | Conversion of Epsilon-NFA to NFA | Theory Of Computation (TOC)

C program to Find Cartesian Product of Two Sets | C programming

Top 10 Programming Language to learn in 2023