This commit is contained in:
Joaquin Gottlebe
2025-07-30 15:57:48 +02:00
parent e49fcfac46
commit a639c34cee
273 changed files with 20151 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/* Informatik B - Sommersemester 2023
Vorlesung am 26.04.2023
Katharina Klost
Beispiele zur Deklaration und Initialisierung von Variablen
*/
#include <iostream>
int main(){
int num1;
//num1 ist nur deklariert und nicht initialisiert und daher ist
//der Inhalt hier nicht definiert (irgendein Wert)
std::cout << num1 << std::endl;
num1 = 10;
std::cout << num1 << std::endl;
}