Question: These two views are inside of `RelativeLayout`. The IDE throws an error there is no `@id/et_pass`, but if I set `@+id/et_pass` it is OK. Why is that?

```
<ImageView 
    android:id="@+id/devider_zero"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_above="@id/et_pass" <!-- Error is here -->
    android:src="@drawable/registration_line" />

<EditText
    android:id="@+id/et_pass"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_above="@+id/devider_first"
    android:background="@android:color/transparent"
    android:layout_gravity="left"
    android:ellipsize="start"
    android:ems="8"
    android:hint="@string/password"
    android:inputType="textPassword"
    android:layout_marginTop="@dimen/register_layout_edittext_margin_top"
    android:maxLines="1" />

```

Answer: 
You did not allocate any memory for the pointer to point at. You can do so like this:

```
int *a = malloc(sizeof(*a));

```

or like this:

```
int value;
int *a = &value;

```

If you allocate with `malloc` then you'll want to call `free` on the pointer when you are finished using it.

Accessing an uninitialized pointer leads to undefined behaviour. In your program it led to segmentation fault, one very common outcome of uninitialized pointer access.
You have `wild pointer`, either assign memory to it using `malloc`

```
int* a = malloc(sizeof(int));

```

or use a stack variable

```
int b = 0;
int *a = &b;
*a=20;

```