Karthikeya Boyini has Published 2383 Articles

Apple Touch icon for websites in HTML

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 13:48:22

2K+ Views

For web page icon on iPhone or iPad, use the Apple Touch Icon or apple-touch-icon.png file. This icon is used when someone adds your web page as a bookmark.For multiple icons with different device resolutions like iPhone or iPad, add sizes attribute to each link element as follows −Set size ... Read More

Converting video to HTML5 ogg / ogv and mpg4

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 13:40:14

292 Views

To convert video to ogg or mpg4, you need to use third-party software like Free HTML5 Video Player And ConverterAfter that, launch it and select input video files. Add files in any of the following formats −*.avi; *.ivf; *.div; *.divx; *.mpg; *.mpeg; *.mpe; *.mp4; *.m4v; *.webm; *.wmv; *.asf; *.mov; *.qt; ... Read More

ispunct() in C

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:28:00

86 Views

The function ispunct() is used to check that the passing character is a punctuation or not. It returns zero, if it is not a punctuation, otherwise it returns a non-zero value.Here is the syntax of ispunct() in C language, int ispunct(int character);Here is an example of ispunct() in C language, ... Read More

strdup() and strdndup() in C/C++

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:27:03

5K+ Views

strdup()The function strdup() is used to duplicate a string. It returns a pointer to null-terminated byte string.Here is the syntax of strdup() in C language, char *strdup(const char *string);Here is an example of strdup() in C language, Example Live Demo#include #include int main() {    char *str = "Helloworld";   ... Read More

CHAR_BIT in C++

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:21:26

580 Views

The CHAR_BIT is the number of bits in char. It is declared in “limits.h” header file in C++ language. It is of 8-bits per byte.Here is an example of CHAR_BIT in C++ language, Example Live Demo#include using namespace std; int main() {    int x = 28;    int a ... Read More

Ceil and floor functions in C++

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:19:37

5K+ Views

The ceil FunctionThe ceil function returns the smallest possible integer value which is equal to the value or greater than that. This function is declared in “cmath” header file in C++ language. It takes single value whoes ceil value is to be calculated. The datatype of variable should be double/float/long ... Read More

atol(), atoll() and atof() functions in C/C++

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:18:30

555 Views

atol() FunctionThe function atol() converts string into a long integer. It returns zero, when no conversion is performed. It returns the converted long int value.Here is the syntax of atol in C++ language, long int atol(const char *string)Here is an example of atol() in C++ language, Example Live Demo#include using ... Read More

scanf() and fscanf() in C

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:17:07

2K+ Views

Function scanf()The function scanf() is used to read formatted input from stdin in C language. It returns the whole number of characters written in it otherwise, returns a negative value.Here is the syntax of scanf() in C language, int scanf(const char *characters_set)Here is an example of scanf() in C language, ... Read More

strcoll() in C/C++

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:14:50

178 Views

The function strcoll() is used to compare two strings using locale - specific collating sequence.It returns −zero, when both strings are same, greater than zero value when first string is greater than otherless than zero value, when first string is less than other.Here is the syntax of strcoll() in C ... Read More

For Versus While Loop in C

karthikeya Boyini

karthikeya Boyini

Updated on 24-Jun-2020 11:13:48

381 Views

For LoopThe for loop is a repetition control structure. It executes the statements a specific number of times. First, it takes the initial value from where it starts the iterations. Second, it takes the condition, which is checked for true, or false. At the end, it increment/ decrement and update ... Read More

Advertisements