Jai Janardhan has Published 69 Articles

What are Lvalues and Rvalues in C++?

Jai Janardhan

Jai Janardhan

Updated on 11-Feb-2020 09:52:30

3K+ Views

An lvalue (locator value) represents an object that occupies some identifiable location in memory (i.e. has an address).rvalues are defined by exclusion. Every expression is either an lvalue or an rvalue, so, an rvalue is an expression that does not represent an object occupying some identifiable location in memory.For example, ... Read More

What are literals in C++?

Jai Janardhan

Jai Janardhan

Updated on 11-Feb-2020 08:11:37

407 Views

A literal is any notation for representing a value within the source code. They just exist in your source code and do not have any reference a value in memory. Contrast this with identifiers, which refer to a value in memory.There are several types of literals in C++. Some of ... Read More

What are cin, cout and cerr streams in C++?

Jai Janardhan

Jai Janardhan

Updated on 11-Feb-2020 04:52:35

2K+ Views

cin, cout, cerr, and clog are streams that handle standard inputs and standard outputs. These are stream objects defined in iostream header file.std::cin is an object of class istream that represents the standard input stream oriented to narrow characters (of type char). It corresponds to the C stream stdin. The standard ... Read More

What is the top IDE for c++ on Linux?

Jai Janardhan

Jai Janardhan

Updated on 10-Feb-2020 12:39:21

450 Views

Big projects are difficult to manage on mere text editors. You're likely to be more productive and less frustrated if you use an IDE in such cases. There are various types of IDE's and you should select the right one which fits your needs. Here's a list of best C/C++ ... Read More

What are the different wildcard characters which can be used with NOT LIKE operator?

Jai Janardhan

Jai Janardhan

Updated on 07-Feb-2020 06:48:02

89 Views

As we know that NOT LIKE operator is used along with WILDCARD characters for not getting the string having specified string. Basically, WILDCARD is the characters that help search data matching complex criteria. Followings are the types of wildcard which can be used in conjunction with NOT LIKE operator:% - ... Read More

How can we change the default MySQL database to the given database?

Jai Janardhan

Jai Janardhan

Updated on 05-Feb-2020 08:18:09

349 Views

Suppose currently we are using a tutorial database so it would be the default MySQL database for subsequent queries. Now, with the help of USE db_name statement, we can change the default database to other given database subsequent queries.mysql> USE Sample Database changedThe database has been changed to Sample from ... Read More

Finding and modifying Service File for SAP system in root directory

Jai Janardhan

Jai Janardhan

Updated on 31-Jan-2020 05:45:27

391 Views

You can find it in %SystemRoot%\system32\drivers\etc where %SystemRoot% is generally your C:\ drive.To modify this file, you can right-click and open this file in Edit mode in Notepad. To perform this you should have Administrator rights in the system.

How to use window.location to redirect to a different URL?

Jai Janardhan

Jai Janardhan

Updated on 13-Jan-2020 06:26:55

841 Views

You might have encountered a situation where you clicked a URL to reach a page X but internally you were directed to another page Y. It happens due to page redirection.It is quite simple to do a page redirect using JavaScript on the client side. To redirect your site visitors ... Read More

Using final keyword to Prevent Overriding in Java

Jai Janardhan

Jai Janardhan

Updated on 30-Jul-2019 22:30:24

2K+ Views

Method overriding can be prevented by using the final keyword with a method. In other words, a final method cannot be overridden.A program that demonstrates this is given as follows:Exampleclass A {    int a = 8;    final void print() {       System.out.println("Value of a: " + ... Read More

Role of Matcher.group() method in Java Regular Expressions

Jai Janardhan

Jai Janardhan

Updated on 30-Jul-2019 22:30:24

504 Views

The method java.time.Matcher.group() is used to find the subsequence in the input sequence string that is a match to the required pattern. This method returns the subsequence that is matched by the previous match which can even be empty.A program that demonstrates the method Matcher.group() in Java regular expressions is ... Read More

Advertisements