Operator (computer programming) in the context of C (programming language)


Operator (computer programming) in the context of C (programming language)

Operator (computer programming) Study page number 1 of 1

Play TriviaQuestions Online!

or

Skip to study material about Operator (computer programming) in the context of "C (programming language)"


⭐ Core Definition: Operator (computer programming)

In computer programming, an operator is a programming language construct that provides functionality that may not be possible to define as a user-defined function (i.e. sizeof in C) or has syntax different than a function (i.e. infix addition as in a+b). Like other programming language concepts, operator has a generally accepted, although debatable meaning among practitioners while at the same time each language gives it specific meaning in that context, and therefore the meaning varies by individual language.

Some operators are represented with symbols – characters typically not allowed for a function identifier – to allow for presentation that is more familiar looking than typical function syntax. For example, a function that tests for greater-than could be named gt, but many languages provide an infix symbolic operator so that code looks more familiar. For example, this:

↓ Menu
HINT:

In this Dossier

Operator (computer programming) in the context of Data structure

In computer science, a data structure is a data organization and storage format that is usually chosen for efficient access to data. More precisely, a data structure is a collection of data values, the relationships among them, and the functions or operations that can be applied to the data, i.e., it is an algebraic structure about data.

View the full Wikipedia page for Data structure
↑ Return to Menu

Operator (computer programming) in the context of Ternary operation

In mathematics, a ternary operation is an n-ary operation with n = 3. A ternary operation on a set A takes any given three elements of A and combines them to form a single element of A.

In computer science, a ternary operator is an operator that takes three arguments as input and returns one output.

View the full Wikipedia page for Ternary operation
↑ Return to Menu