VARIABLES AND CONSTANTS IN C

Variables and Constants in C

In C programming language, a constant is an identifier that contains a specific value The value cannot be altered during normal c program execution as the value is constant.Exampleconst float PI = 3.1415927; // (Pi is a constant) for(int i=0;i<10,i++) // i is a variable Floating-point constants Floating point constants in C programming are the type of numeric constants … Read more

C Data Types

C Data Types

In C programming, data types specify an extensive system used for declaring variables(like int a) or functions(void fun1()) of different types. The C data type of a variable determines how much space it occupies in memory and how the bit pattern stored in memory will be understood by the processor.Various arithmetic datatypes and functional data types available in the … Read more

CSS Backgrounds

CSS Backgrounds

CSS background properties(like color, and image) allow you to specify things such as: The background color of a web page(or pages), table(or tables), paragraph(or paragraphs), etc The background image for a web page(pages), table(tables), paragraph(paragraphs), etc The position of the background image It allows an image to scroll with a web page, or to fix … Read more

Types of CSS

Types of CSS

Internal Style Sheets Internal style sheets should be used when you want to control the look and layout of a single web page. The internal style sheet code (<styletype=”text/css”>) is placed in between the head tags. The following CSS code example shows how this is done. The internal style sheet code, <style type=”text/css”>, doesn’t do anything visually itself. … Read more

PHP Loops

PHP Loops

Loop is a sequence of instructions continuously repeated depending on the boolean condition. If we want to execute our statement repeatedly, we can implement loop techniques and put statements execution according to the boolean condition. PHP Loop Types While Loop For Loop Do While PHP While Loop While loop is the most accessible loop to … Read more

PHP Data Types

PHP Data Types

PHP DATA TYPES In programming, if we want to use values(like 10,20) then we have to use data type(int, float, char) to represent its base type as real, integer, character, or Boolean that determines the possible values for that type. We can perform an action on values of that type. The meaning of data and … Read more

Storage Classes in C

Storage Classes in C

Storage classes in a C Programming Language are classified into four main types according to the storage area and their behavior, in this c programming tutorial we use these storage classes in many programs:- Automatic storage class: Automatic storage class variables in C Programming Language will be created and destroyed automatically. In the Automatic storage class, variables are stored … Read more

Classes and Objects in Java

Classes and Objects in Java

Java class is a set of related objects. The object(addition a1=new addition();a1 is the object) has some attributes, whose value consists much of the state of an object. Class is a user-defined data type in Java. The complete set of data and code of an object can be made a user-defined data type with the … Read more