Mahesh Parahar has Published 191 Articles

Difference between the | and || or operator in php

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:35:31

365 Views

'|' Bitwise OR operator'|' operator is a bitwise OR operator and is used to set the bit to 1 if any of the corresponding bit is 1.'||' Logical Or operator'||' is a logical Or operator and works on complete operands as whole.ExampleFollowing example, shows usage of '|' vs '||' operators. Live ... Read More

Difference between !== and ==! operator in PHP

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:33:04

534 Views

'!==' comparison operator'!==' operator checks the unequality of two objects with a type check. It does not converts the datatype and makes a typed check.For example 1 !== '1' will results true.'==!' comparison operator'==!' operator is combination of two operators and can be written as == (!operands).ExampleFollowing example, shows usage ... Read More

Difference between != and !== operator in JavaScript Program

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:28:36

589 Views

'!=' comparison operator'!=' operator checks the unequality of two objects without making the type check. It converts the datatype of two operands to one and then compares their value. For example 1 != '1' will results false.'!==' comparison operator'!==' operator checks the unequality of two objects with a type check. ... Read More

Difference between "." and "#" selector in CSS

Mahesh Parahar

Mahesh Parahar

Updated on 13-Jan-2020 06:23:56

2K+ Views

'.' selector'.' selector is a class level selector. The dot operator is used to create a style class which can then be applied on multiple html elements.'#' selector'#' selector is an element level selector. Hash operator is used to applying style on a particular element whose id is the same ... Read More

Difference between Managed and Unmanaged code in .NET

Mahesh Parahar

Mahesh Parahar

Updated on 06-Jan-2020 06:48:33

3K+ Views

.NET Framework has CLR, Common Language Runtime which execute the code written in .NET languages. CLR manages the memory needs, security concern, code optimization, platform specific conversion etc. In case of Unmanaged code, no CLR is present, and code is directly executed by Operating system.Following are some of the important ... Read More

C/C++ difference's between strncmp() and strcmp.

Mahesh Parahar

Mahesh Parahar

Updated on 06-Jan-2020 06:35:51

372 Views

strncmp() and strcmp compares two strings using ASCII character comparison. strncmp takes one additional parameter as number to characters upto which a string is to be compared. It is very useful as if a string is not valid, then strcmp will not be able to complete its operation. strcmp searches ... Read More

Difference between const char* p, char * const p, and const char * const p in C

Mahesh Parahar

Mahesh Parahar

Updated on 06-Jan-2020 06:30:36

13K+ Views

PointerIn C programming language, *p represents the value stored in a pointer and p represents the address of the value, is referred as a pointer.const char* and char const* says that the pointer can point to a constant char and value of char pointed by this pointer cannot be changed. ... Read More

Difference between const int*, const int * const, and int const * in C

Mahesh Parahar

Mahesh Parahar

Updated on 06-Jan-2020 06:27:49

4K+ Views

PointerIn C programming language, *p represents the value stored in a pointer and p represents the address of the value, is referred as a pointer.const int* and int const* says that the pointer can point to a constant int and value of int pointed by this pointer cannot be changed. ... Read More

Difference between ++*p, *p++ and *++p in C

Mahesh Parahar

Mahesh Parahar

Updated on 06-Jan-2020 06:25:31

10K+ Views

Pointer AirthmeticsIn C programming language, *p represents the value stored in a pointer. ++ is increment operator used in prefix and postfix expressions. * is dereference operator. Precedence of prefix ++ and * is same and both are right to left associative. Precedence of postfix ++ is higher than both ... Read More

Difference between %d and %i format specifier in C language.

Mahesh Parahar

Mahesh Parahar

Updated on 06-Jan-2020 06:22:05

13K+ Views

Format SpecifiersIn C programming language, %d and %i are format specifiers as where %d specifies the type of variable as decimal and %i specifies the type as integer. In usage terms, there is no difference in printf() function output while printing a number using %d or %i but using scanf ... Read More

Advertisements