# Month: March 2021

## Increment and Decrement of a Pointer (Pointer Arithmetics) in C

A pointer is an address, means it is a numerical value. Hence, arithmetic operation can be done on a pointer. There are four operations that can be done on a pointer. Those are: 1. Increment (++) and Decrement (- -)2. Addition of any integer to pointer (+)3. Subtraction of any integer from pointer (-)4. Subtracting …

## Addition and Subtraction of a Pointer (Pointer Arithmetics) in C

A pointer is an address, means it is a numerical value. Hence, arithmetic operation can be done on a pointer. There are four operations that can be done on a pointer. Those are: 1. Increment (++) and Decrement (–)2. Addition of any integer to pointer (+)3. Subtraction of any integer from pointer (-)4. Subtracting two …

## Typecasting of a pointer in C

Typecasting is used to change a variable to a different type for a particular operation. We need to specify the type of the data whose address a pointer will hold, though all pointers are similar as they hold the addresses. The amount of space required by a pointer to store the address depends on the …

## Python Tuple – min() Method

It is an inbuilt function in python that returns the min value among all the numbers, if string is involved it returns the alphabetical character with the lowest ASCII value. Syntax: min(tuple_name) Don’t know what is max method in Python Tuple? Read: Python Tuple – max() Method Example 1: Output: 32 Explanation: Here the smallest …

## Python Tuple – max() Method

It is an inbuilt function in python that returns the max value among all the numbers, if string is involved then alphabetical character with the highest ascii value is returned. Syntax: max(tuple) Don’t know what is len method in Python Tuple? Read: len() method in Python Tuple Example 1: Output: 98 Explanation: Here the largest …

## Array name as Pointers in C

When an array is declared in a c program actually a pointer is declared unknowingly. If we declare an array int a[5]. Basically, we are declaring a pointer ‘a’ that points to the first element of the array. It is carrying the base address (address of a[0]) of the array. So, we can say that …

## Python Tuple – len() Method

It is a function in python that returns the length of the Tuple. Counting for length starts from 1. It counts each and every element in the tuple and returns a positive integer value. Syntax: len(tuple) Don’t know what is cmp function in Python Tuple? Read: cmp() function in Python Tuple Example 1: Output: 8 …

## Python Tuple – cmp() function

It is a function in python 2.x that compares two tuple provided in the argument. If the first argument tuple is greater than the second argument tuple it returns 1, if not returns -1. Syntax: cmp(tuple1, tuple2) Example 1: Output: -1 Explanation: Here the third element in the first tuple is lower than the third …

## Festo India Off Campus Hiring

Festo is a leading world-wide supplier of automation technology and the performance leader in industrial training and education programs. Our aim: maximised productivity and competitiveness for our customers. Qualification: BE/B.Tech/Diploma Experience:  Freshers/Any Job Title: Graduate Engineer Trainee Job Location: Bangalore Salary:  As Per Company Standards Job Description: This role is to provide engineering and technological …

## cmp() function in Python List

It is a function in python 2.x that compares two list provided in the argument. If the first argument list is greater than the second argument list it returns 1, if not returns -1. Syntax: cmp(list1, list2) Example 1: Output: -1 Explanation: Here the third element in the first list is lower than the third …

Page 1 of 15
1 2 3 15