<commit_before>---
layout: post
title: "Few words about pointesrs"
status: released
type: post
comments: true
list: etut
set: jipp
---

Pointers are used in few different ways. They can be used as reference to an array of elements or as reference to a variable so you can change it and keep the changes.

<!--more-->

# Let's start it gently
Pointers can be understood as an address to a variable. They are much powerful though. You can do quite a lot of math with them too. If you ever actually read a tutorial for `Hello World` in C you probably already encountered them. `scanf` function takes some pointers as it's 2nd-nth argument.

{% highlight c %}

int some = 0;
scanf("%d", &some);

{% endhighlight %}
<commit_msg>Title typo fix<commit_after>---
layout: post
title: "Few words about pointers"
status: released
type: post
comments: true
list: etut
set: jipp
---

Pointers are used in few different ways. They can be used as reference to an array of elements or as reference to a variable so you can change it and keep the changes.

<!--more-->

# Let's start it gently
Pointers can be understood as an address to a variable. They are much powerful though. You can do quite a lot of math with them too. If you ever actually read a tutorial for `Hello World` in C you probably already encountered them. `scanf` function takes some pointers as it's 2nd-nth argument.

{% highlight c %}

int some = 0;
scanf("%d", &some);

{% endhighlight %}

{'fraction_non_alphanumeric': 0.08022130013831259, 'fraction_numerical': 0.0027662517289073307, 'mean_word_length': 3.872053872053872, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6951006', 'n_tokens_mistral': 423, 'n_tokens_neox': 395, 'n_words': 234}