Ugrás a tartalomhoz

&

A Wikiszótárból, a nyitott szótárból

& U+0026, &
AMPERSAND
%
[U+0025]
Basic Latin '
[U+0027]

Főnév

& (tsz. &s)

  1. ampersand

Programming languages

In the 20th century, following the development of formal logic, the ampersand became a commonly used logical notation for the binary operator or sentential connective AND. This usage was adopted in computing.

Many languages with syntax derived from C, including C++, Perl, and more differentiate between:

In C, C++, and Go, a prefix & is a unary operator denoting the address in memory of the argument, e.g. &x, &func, &a[3].

In C++ and PHP, unary prefix & before a formal parameter of a function denotes pass-by-reference.

  • & - Szótár.net (en-hu)
  • & - Sztaki (en-hu)
  • & - Merriam–Webster
  • & - Cambridge
  • & - WordNet
  • & - Яндекс (en-ru)
  • & - Google (en-hu)
  • & - Wikidata
  • & - Wikipédia (angol)