First Java Program

c programming

    First Java Program The first program that most Java developers learn to write is typically a “Hello, World!” …

Read more

First C Program

c programming

First C Program – C is a general-purpose, procedural programming language that has been widely used since its development in …

Read more

Java Program Structure

c programming
Java Program Structure

Documentation Section

Package Statement

Import Statements

Interface Statements

Class Definitions

Main method class

{  

           Main method class

}

1. Documentation Section

  • It includes basic information about Java program.
  • The information includes the author’s name, data of creation, version, program name, compony name, and description name of the program.
  • To write the statements in decompensation,

we use comments

         The comments may be
 
 
1. single-line comments:-
 
                           // First Java Program
 
2. multi-line comments
It starts with a   /* and ends, with */   we write between these two symbols.
 
ex :-
          /* It is an example of 
               multiline comment */

C Programming Language Version | C Language

c programming

C Programming Language Version | C Language

  • C developed by Dennis Ritchie in1973 at Bell Labs, and used to re-implements the Unix operating systems.
  • It has sine become one of the most widely used programming language of all time, with C compilers from various vendors available for the majority of existing computer architectures and operating systems.
  • C has been standardized by the American National Standards Institute Since 1989 and subsequently by the International Organization for Standardization.
 C Programming Language Version

K&R

  • K&R refers to the book “The C Programming Language” written by Brian Kernighan and Dennis Ritchie, which is often referred to as the “K&R” book. The book is a seminal text on the C programming language, and is widely regarded as one of the best programming books ever written.
  • The K&R book was first published in 1978, shortly after the release of the first version of the C language. It quickly became a best-seller and a standard reference for C programmers.
  • The book covers the basics of the C language, including data types, operators, control structures, functions, pointers, and arrays. It also includes a section on the standard library functions, and provides many examples and exercises to help readers learn the language.
  • One of the strengths of the K&R book is its concise and clear writing style. The authors explain complex concepts in a simple and accessible way, and provide many code examples to illustrate their points. The book also includes many tips and tricks for writing efficient and elegant C code.

    Read more

Features of C Language | Programming

c programming

 Features of C Language Simple Portable Mid-level Programming Language Structured Programming Language Rich Library Extensible Recursion Pointers Faster Memory Management …

Read more

Features of Java

c programming

Features of Java  The primary objective of Java programming language creation was to make it a Portable, Simple, and Secure …

Read more

History of C language

c programming

History of C Language – C is a general-purpose programming language that was originally developed by Dennis Ritchie at Bell …

Read more

History of Java

c programming

History of Java – Java is a popular programming language that was first released in 1995 by Sun Microsystems. The …

Read more