python

Python program to generate secure random string of length n

Python program to generate secure random string of length n. Learn random.choice and secrets.choice methods and how these methods works.

Read
python

How can we print spaces in python

Learn how to print spaces or blank spaces in python. We will learn two different ways to print spaces in python - by using print() and using a variable.

Read
C++

Singly linked list implementation in c++

Singly linked list implementation in C++. Learn how to implement linked list, add node to it and display a linked list in C++.

Read
c

What is memset function in C and how it works

This C programming post will show you what is memset function and how it can be used to set a block of memory programmatically in C. This post will show you how memset works with example.

Read
swift

How to find the length of a string in swift

Learn how to find the length of a string in swift. This post will show you how to find the length of a string in swift with example program.

Read
c

How to skip characters with scanf() in C

C program to skip characters with scanf. This program will show you how to skip specific characters while reading the user input in C.

Read
swift

Swift string characters in unicode, UTF-16 and UTF-8 representation

Swift program to convert string in unicode, UTF-16 and UTF-8.Learn how to use unicodeScalars, utf16 and utf8 properties of swift string.

Read
javascript

JavaScript program to get the current URL of the browser

JavaScript program to get current url of the browser. This program will get the url from the window object and show it in an alert.

Read
javascript

How to join elements of an array in JavaScript

JavaScript program to join elements of an array. This program will join the elements using any type of separator.

Read
react

Handling keyboard with react-native ScrollView

Learn how to handle keyboard with react-native ScrollView.keyboardDismissMode and keyboardShouldPersistTaps are two properties used for keyboard handling.

Read