summaryrefslogtreecommitdiff
path: root/printf_with_pointer.c
blob: 561fe23969d08b8c98e31667ca38a0b5054ab5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>


int main(void)
{
	printf("Hello World!\n");
	const char* str = "Hello %s!\n";
	char* second_str = "Clay";
	printf(str, second_str);
	return 0;
}