Skip to main content

Posts

Featured Post

Rapid View Of Technology

  Currently Running Top 10 Programming Languages C programming language                         C language is the most popular and and widely used programming language.The C language is developed in 1972 by  Dennis Ritchie at bell laboratories of AT&T American Telephone & Telegraph, located in the U.S.A . C language is also knows as mother and structured programming language.C language is a basic language of all other languages. C++ programming language                                 C++ is object oriented programming language. C++ programming language was developed in 1980 by Bjarne Stroustrup  at bell laboratories of AT&T,located in U.S.A  . C++ is totally based on oops concept. HTML                                                                                                                        Hyper Text Markup Language. html is a markup language it is not a programming language.   But it help full in programming language. html is a used to create web page
Recent posts

Java Language Tutorial

Java Programming Language Tutorial What is Java Java is a secured, object-oriented and general purpose programming language.It is a high level robust language. Java was originally designed for television, but it was advanced technology for the digital cable television at a time.At a time java is used in  internet programming,games,e-business,etc. History Of Java History of Java start with the Green team.java team member is also known as Green team. Green team initiated the java project in 1991.  Firstly java was called green- talk. After it was called Oak.And In 1995 Games Gosling and his team changed the Oak name to Java. because Oak was already a registered company.   James Gosling and his team usually took a coffee which name is java coffee. java coffee is a famous coffee of java island of Indonesia So James Gosling choice java name for this programming language. Applications Of Java ✒ Web Application:-Web application runs on server side and create dynamic pages. Ser

C Type Casting

TYPE CASTING What is Type Casting The process of converting one predefined datatype into another is called type casting. Syntax:- (datatype)value; C programming provide 2 types of type casting. Note:- If we are put a char (character datatype) so its print is ASCII  Code. 1.Implicit Type Casting:- In  C language datatype can directly convert into one to another by compiler without user interface is known as implicit type casting. In this casting the lower data type is automatically converted into higher datatype. It is also known as promotion of datatype. Example:- #include<stdio.h> #include<conio.h> void main() { clrscr(); int x= 10;  //integer x char y= 'a'; //character y,  ASCII value of 'a' is 97 // y implicitly converted to int .ASCII  x =x+y; float z =x + 2.0; // x is implicitly converted to float printf("x = %d, z= %f", x, z); getch(); } Output: x=107, y=109.00000 2.Explicit Type Casting:- In this type of typ

C Jumping Statement/Branching

Jumping Statement/Branching    In C Language branching is to jump from one segment of program to another segment. Branching can be upward and downward depends on requirement of program,sometimes Branching is used to skip some segment of code.due to branching program flow is not sequential.  C language support branching by following statement. 1) Break                     2) Continue             3) Goto 1)Break Statement:- The break is a keyword in C. In C the break statement is used to breaks loop or switch statement.It breaks the control flow of the program at specified condition.We can use the break statement all the types of loops such as for ,while, do while. Syntax:- jump statement; break; Example: #include<stdio.h> #include<conio.h> void main() { clrscr();                                    int i; // initialization the local variable for(i=1;i<=10;i++)// starting a loop from 1 to 10 { if(i==6) { // if value of i is equal to 4, it w

C Looping Statements

Looping/Iterative Statements What is Loop one statements are executed one or more time .looping simplify the complex problems into the easy one.loop provides code reusability.  we do not need to write same code again and again.looping is used to traverse the element of  data structure. Types of loops πŸ’₯ For Loop:- In C the For loop is used to iterate a part of the program many time.In the for loop number of iteration is fixed. Syntax:- for(initialization,condition,increment/decrement) { statement }                                   Flow chart of for loop Example                                                                      #include<stdio.h>    #include<conio.h>                                              void main()                            { int i=0; for(i=1;i<=10;i++) { printf("%d",i); } getch(); } Output 1 2 3 4 5 6 7 8 9 10 πŸ’₯ While loop:-While loop is also known as entry control loop Because  it first check t

C Decision Making Statements

  C CONTROL STATEMENTS Control Statements in C language enable to determine flow of program using various kind of statement.In c language mostly program executed by sequence but control statements can change flow of program by making jump within program.   3 Types of Control Statements are   Decision Making Statements:- This Statements is also called conditional statements.In C language normally program executes in sequence but some times there are number of situation where programmer needed to change the sequence .This involved decision making to see whether particular condition is true or not.            Flow Chart Of Decision  Making Statements Decision Making Statements support following statements:- 1.If Statement 2.If else Statement 3.If else if Statement 4.Nested if Statement 5.Switch Statements 1.If Statement:-  In C is used to if statements to control the program flow based on the condition.   if statement is used to check the one or more condition.

C Tokens

    C TOKENS The compiler breaks a program into the smallest possible units and proceeds to the various stages of the compilation,which is called Token. lexical analyzer that perform  tokenzation process.       Types of C Tokens πŸ’₯   C  Keyword   Keyword are reserved word. In C language which has pre-defined meaning and syntax.C language has a 32 keywords.Keyword are must be written in a lower case letter.It is a combination of alphabetical character. Keywords are as follows:-  πŸ’₯ C  Identifiers    πŸ‘‰πŸ»Identifier is a user-defined word. πŸ‘‰πŸ»Identifier refers to name of variable,function,array,structure,etc. πŸ‘‰πŸ» Every identifier must start with upper and lower case letter. πŸ‘‰πŸ» In identifier special symbols are not allowed. πŸ‘‰πŸ» Every identifier must start with an alphabet with underscore. πŸ‘‰πŸ» Identifier can only contain letter and digit.but it not start with alphanumerical. πŸ‘‰πŸ» Only 31 character size is valid for identifier. πŸ‘‰πŸ» Identifier must no

C Variable and Datatype

Variables And Datatypes In C Language Variables Variables is use to carry the value.and it can be reused many times in a program. variables used to specify the particular  memory location. Variable name is user defined name variable defined once will remain same . During program execution value of variable can be changed by using operators. 1.Rules /Naming of a Variable They must begin with a letter. It can't start with a digit. Keyword and reserved are not allowed as variable name. White space are not allowed in variable name. Name of variable maximum length of 31 character.more than 31 character length are invalid. Uppercase & lowercase letter are different in c, so variable defined with upper letter are different from lower case letter variables.    Special characters like #, $ are not allowed. Variable names are case sensitive.   2.Syntax/ Define a Variable datatype variable-name; 3.Declaration of a Variable int x; char y; float z; 4.Ini