Jump to content

Types of values

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts
Types of values
A. literal
B. aggregate
C. invocation of function
D. access the variable or constant
Examples
( ) (30, 'x', 25.45)
( ) 1234
( ) X
( ) sqrt(x)

The correct order is ?

Mysolution
(A)
(B)
(D)
©

It is correct ?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
1234 is a literal.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts

WingedPanther said:

1234 is a literal.

I have two literal or (30, 'x', 25.45) is aggregate ?

#4
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
(30,'x',25.45) is an aggregate.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#5
Apprentice123

Apprentice123

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 430 posts

WingedPanther said:

(30,'x',25.45) is an aggregate.

thanks