Tag: operator


Difference Between == and === in JavaScript

In JavaScript, you often encounter two types of equality operators: == (loose equality) and === (strict equality). While they may seem similar at first glance, they function quite differently. Unde...

Spread operator in JavaScript

The spread operator (denoted by ...) is one of the most powerful and versatile features introduced in ES6 (ECMAScript 2015). It allows developers to work with arrays, objects, and function argument...

Rest operator in JavaScript

The rest operator (denoted by ...) is one of the modern JavaScript features introduced in ES6 (ECMAScript 2015). It allows developers to pack multiple values into a single array or object, which is...

C program to convert fahrenheit to celsius

Write a C program to convert fahrenheit to celsius. C program to enter the temperature in fahrenheit and convert it into celcius using operators.

C program to find power of a number

C program to find the power of a number. Write a C program to enter the base and exponents and calculate the power of a number using the pow function.

C program to find square root of a number

C program to find the square root of a number. Write a C program to enter the number and calculate the square root of a number using the sqrt function.

C Program to find diameter, circumference and area of a circle

Write a C program to enter the radius of a rectangle and find the diameter, circumference and area of a circle.

C program to convert celsius to fahrenheit

C program to convert celsius to fahrenheit. Write a C program to enter the temperature in celcius and convert it into fahrenheit using operators.

C program to find sum of two numbers

Write a C program to enter two numbers and find their sum by using the scanf function.

C program to perform all arithmetic operations

Write a C program to enter two numbers and perform all arithmetic operations like addition, subtraction etc to understand how to perform basic arithmetic operations in C language.