Notation refers to a specific way of writing various concepts, functions, etc. Usually it is introduced to abbreviate complicated expressions and make common idioms more readable.
Questions tagged [notation]
633 questions
-5
votes
1 answer
inserting numbers to an array using pointer notation c++
So i'm trying to insert a number into an array in ascending order and then print the array by using only pointer notation. I tried doing this by finding the position of where the number would be inserted and then I try to store all the values at…

CLS_simple
- 1
- 2
- 2
-8
votes
2 answers
Is it possible to use notation [] with pointers in C?
I declare a matrix of integer using malloc():
int *m;
m = malloc(10 * sizeof(int));
Can I use array notation [] to select an element from matrix?
For example:
I use *(m+1) to select the second element of matrix m.
Can I select the second element of…

cxsp
- 1
-8
votes
1 answer
Understanding the ? notation for Java
I came across a code snippet online that used a notation that from what I gather seems to do a comparison and then returns back possible multiple outputs. I am still confused about it, even after research. Can someone re-write the code snippet to an…

portfoliobuilder
- 7,556
- 14
- 76
- 136