How can we access global variables in C

Global variables in C are variables those are accessible from any method. In this post, I will show you how to use global variables in C with example.

Read

Create a recyclerview with image from API in Kotlin Android

Learn to create a recyclerview in Kotlin with image and other info. We will load the data from an API and load the data in it.

Read

C++ std::copy() function explanation with examples

C++ std::copy function is used to copy items from one iterator to another iterator with a specific range. We can define start and end position to copy in this range.

Read

Write a count-down timer program in C++

C++ program to create a count-down timer. The program will take the minute and seconds as input from the user and print the seconds in reverse order as count-down.

Read

C program to print multiplication table using goto statement

Learn how to use goto statement in C to print the multiplication table. The program will take one number as input from the user and print the multiplication table for that number

Read

C program to print the current hour, minute and second values

C program to print hour, minute and second values in the console. We will use time.h header file to print these values. You will learn localtime and time functions defined in time.h

Read

C++ program to print the current date, day and time

C++ program to print the current date, day and time. C++ provides time(), localtime(), and asctime() methods to print these values easily. In this program, I will show you how to print these values.

Read

pass statement in Python explanation with example

pass statement in python is a null statement. pass is not ignored by the interpreter but we can use it in place of code. This post will show you how to use pass with example.

Read

Use python bin() function to convert integer to binary

Python provides bin function to convert integer to binary. In this post, we will learn how to python bin with exaple.

Read

3 JavaScript programs to get the first character of each words in a string

JavaScript program to get the first character of each word in a string. We will learn 3 different ways to solve this. By using a loop, ES6 map, split and using regex.

Read