printf("");
// print hello world using c
printf("Hello World");
printf("Hello World");
printf("your text here");
#include <stdio.h>
int addNumbers(int a, int b)
{
int sum = a + b;
return sum;
}
int main(void)
{
int a = 4;
int b = 7;
printf(addNumbers(a,b));
return 0;
}
printf("Hello, World!")
// the %d is a format specifier that search for a variable containing
// an int in the printf function.
printf("You entered: %d", number);
printf("%%"); // Prints %
printf("%% %%"); // Prints % %
printf("%%%%"); // Prints %%
#include<stdio.h>
// Program to print %
int main()
{
printf("%%");
return 0;
}
printf()
print("Hello World"); // Prints Hello world on console
printf("hi");
int main() {
printf("Hello World!");
return 0;
}
Hello World!