C++

C++ program to check if two arrays hold the same values

C++ program to check if two arrays holds the same values or if both are equal or not. The program will take the numbers of each array as input from the user and print one message if both are equal or not.

Read
typescript

How to use forEach in typescript array

Learn how to use forEach in a typescript array. forEach can be used to iterate over the array items. It can be used with arrays, maps, sets etc.

Read
C++

C++ program to print Fibonacci series

C++ program to print fibonacci series. The program will take the total numbers to show in the fibonacci series as input from the user and it will print the fibonacci series from 1 to n.

Read
c

Difference between %d and %i format specifiers in C

Difference between %d and %i format specifiers in C. %d is used for signed decimal integers and %i is used for integers.

Read
c

How to declare a variable dynamically in C

Learn how to declare a variable dynamically in c. Dynamic memory allocation is used to manage memory in runtime. We can allocate a specific amount of memory for a variable using it.

Read
c

C program to print squares and cubes of all numbers from 1 to n

C program to print the square and cube of all numbers from 1 to n. It will take the value of n from the user and print all squares and cubes from 1 to n.

Read
java

Java program to check if the first character of a string is number/digit

Java program to check if the first character of a string is a number or digit. We will learn to solve this by using two different ways - using charAt and isDigit and by using regex.

Read
typescript

Introduction to Set in TypeScript with examples

Introduction to set in typescript. Set is used to store distinct data in typescript. This post will show how to use set with examples.

Read
c

C program to check if a character is a vowel or consonant

C program to check if a character is a vowel or consonant. The program will take a character as input from the user and print out if it is a vowel or consonant.

Read
typescript

Switch-case statement in typescript with examples

switch-case statement is used to run a block of code based on the result of an expression. This program will show you how to use switch-case in typescript.

Read