print statement in c code example
Example 1: c print program
#include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
Example 2: how to print in c
printf("");
Example 3: print in c
// print hello world using c
printf("Hello World");
Example 4: c print statement
printf("hello");
Example 5: printf in c
#include <stdio.h>
int printf(const char *format, ...);
int main(void)
{
int nb = 20;
printf("Hello World !\n");
printf("%d\n", nb);
printf("%s/%d\n", "Nice", 20);
return (0);
}
/// output :
///
/// Hello World !
/// 20
/// Nice/20
///