C Programming(Printf)

C-Programming 

C is a general-purpose programming language that is extremely popular, simple and flexible. It is machine-independent, structured programming language which is used extensively in various applications. This online course teaches you basic to advance level concept of C Programming to make you pro in C language.

 Description

 The C library function int printf(const char *format, ...) sends formatted output to stdout.

Declaration

 Following is the declaration for printf() function
int printf(const char *format, ...)


Example
The following example shows the usage of printf() function.
#include
int main()
{
int c;
printf("Hello Knowledge Education Cambodia \n");
printf("Please input Number C\n");
scanf("%d",&c);
printf("%d",c);
}

My Video

Comments