AI Explains Obvious Code
what do you think the code above does? The code seems to implement three functions: `func0`, `func1`, and `func2`. `func0` takes two pointers to integers as arguments and swaps the values they point to. `func1` takes a pointer to an integer array and an integer as arguments and sorts the array in ascending order using the bubble sort algorithm. `func2` takes a pointer to an integer array and an integer as arguments and prints the values in the array.
A chat screenshot shows a user asking what some code does, followed by an AI explaining three simple functions: swapping integers, bubble-sorting an array, and printing its values. The joke is that the explanation is overly formal and obvious, making fun of basic code being analyzed as if it were complex. EN: A chat screenshot shows a user asking what some code does, followed by an AI explaining three simple functions: swapping integers, bubble-sorting an array, and printing its values. The joke is that the explanation is overly formal and obvious, making fun of basic code being analyzed as if it were complex.
chat interface / интерфейс чатаcomputer code / компьютерный кодtext message / текстовое сообщениеprogramming functions / функции программированияinteger pointers / указатели на целые числаinteger array / массив целых чиселbubble sort algorithm / алгоритм пузырьковой сортировкиcode explanation / объяснение кодаuser avatar / аватар пользователяAI logo / логотип ИИthumbs-up icon / значок «палец вверх»thumbs-down icon / значок «палец вниз»
- @ithueti / 8335 2022-12-02
- Type
- image
- Size
- 676×333 · 33.8 KiB
- Mood
- sarcastic
- Language
- en
- Added