7 lines
685 B
Markdown
7 lines
685 B
Markdown
Použitý AI model pri vypracovaní DÚ: Google Gemini
|
|
|
|
Prompt 1: ,,Could you please expain to me, how does this snippet of code work? *priložil som snímku obrazovky zobrazujúcu čásť kódu z programátorského blogu k DÚ2 (https://student.kemt.fei.tuke.sk/pvjc/cvicenia/input)*
|
|
Prompt 2: ,,Could you explain to me how does the fgets() function work in C?"
|
|
Prompt 3: ,,I would like to know please how does the sscantf() function work in C and what is the difference between it and scantf()?"
|
|
Prompt 4: ,,What does it mean, if fgets() function in C returns the value of '1'?"
|
|
Prompt 5: ,,can i pass a '1' instead of the macro EXIT_FAILURE into the exit() function for simplicity?" |