tutorial

PHP Data Types

Data type is the type of the data a variable is storing. PHP has different datatypes mentioned as follows – Datatypes in PHP can be broadly categorized in three categories – Scalar types They can hold only one value at a time. They further are of four types – Integer

PHP Data Types Read More »

C Data Types

A data type in c specifies the type of value that a variable can store for example integer, character, or float. Each data type requires a specific amount of memory. Data types in C are defined under three categories Primitive or primary Derived User defined Primitive Data Types – The

C Data Types Read More »

Python Booleans

A boolean value in computer science is a datatype which can have one of the two values ‘true’ or ‘false’ which represents the truth values of logics. In python, the boolean values are written as ‘true’ and ‘false’ (considering the case sensitivity of t and f). When we evaluate any expression,

Python Booleans Read More »

C Basic Syntax

The C basic syntax specifies the rules for things to be written in a specific sequence to form meaningful instructions for the compiler. For example, how a variable should be declared, how to start a line of code, how to end it, where to put quotes, where to put braces,

C Basic Syntax Read More »

Python Type Casting

At times, we need to specify the data type of a predefined variable, or we need to change the data type of a variable. This is known as type casting. In computer programming, type casting (or simple ‘casting’) or type conversion is changing the data type of any entity. Example of type

Python Type Casting Read More »

C Installation

To start programming in C, you must have a compiler installed in your system. A compiler is a computer program or a software which converts source code written in a programming language to the  machine language code. In general, a compiler converts your code into a form that your computer

C Installation Read More »

Python Strings

In programming, a string is a series or a sequence of characters. A character is a symbol or a letter or even a number enclosed in quotes. Some example of strings may be – sagar, roll12, %#@!&. How to create a string in python – In python, a string can

Python Strings Read More »

Introduction to C

Introduction C is a general-purpose high-level programming language originally developed by Dennis Ritchie at AT & T’s Bell Laboratories (USA) in 1972. It was mainly developed as a system programming language to build an operating system. One of the main features of C includes low-level memory access, a set of

Introduction to C Read More »

JavaScript Variables

Like any other programming language, variables in JavaScript are containers for storing different types of values. A variable can be thought of as a container. We can store data into a variable and can refer the data with the help of that variable later. Variable declaration Before using a variable, we

JavaScript Variables Read More »