what is console in sublime text
#include <stdio.h>
int main() {
printf("Hello, Sublime Text Console!");
return 0;
}
Explanation:
#include <stdio.h>
: This line includes the standard input-output library in C, which provides functions likeprintf
andscanf
for input and output operations.int main() { ... }
: This is the main function where the execution of the program begins. It returns an integer value.printf("Hello, Sublime Text Console!");
: This line uses theprintf
function to print the text "Hello, Sublime Text Console!" to the console.printf
is a formatted output function used to display information on the screen.return 0;
: This statement indicates the successful termination of themain()
function with a return value of 0, which is conventionally used to indicate successful execution in C programs.