Others Flashcards

1
Q

What is a cast operator

A

A cast operator is a special type of operator that forces one data type to be converted to another data type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the comma operator

A

The comma operator is used to separate two or more expression that are included where only one expression is to be expected

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is sizeof operator

A

A compile time operator that determines the size, in bytes of a variable or data type.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is the syntax to manually allocate a memory and delete the allocated memory

A

allocate memory: pointer = new type;
delete memory : delete [] pointer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly