Syntax Semantics am dle Give you the following programming segments O in C, printf("Hello World! ") O in Java, system. print("Hello World! " o in C++, cout<< Hello World! All of them just output"hello World! " on the screenSyntax & Semantics Example Give you the following programming segments: 1 in C, printf(”Hello World!”); 2 in Java, system.print(”Hello World!”); 3 in C++, cout<<”Hello World!”; All of them just output ”Hello World!” on the screen. Yi Li (Fudan University) Discrete Mathematics April 18, 2012 5 / 17