Introduction
"Hello World" in C

#include <stdio.h>
int main() {
char input[100];
// Read until a new line is received
scanf("%[^\n]%*c", input);
printf("Hello, World!");
printf("\n%s", input);
return 0
}use std::io;
fn main() {
let mut input: String = String::new();
io::stdin()
.read_line(&mut input)
.expect("Give an Input.");
println!("Hello, world!");
println!("{input}")
}Playing with Characters

Sum and Difference of Two Numbers

Functions in C

Pointers in C

Last updated
Was this helpful?