Use printf() in C Language

Use printf() in C Language:

(1) printf() is used for printing output value

(2) Sample C language code and its output, as shown:

#include <stdio.h>
#include <conio.h>
int main()
{
printf(“My First C Programme”);
getch();
return 0;
}
C language code and its output

(3) After that go to the “Build” menu and select the “Build” option for publishing the code as shown.

use build option for publisshing the code

(4) After building the code, press the “Run” button, as shown.

click on run button to run c language code

(5) After pressing the “run” button, the output screen is opened, as shown.

output screen in c language

Use of CONCAT_WS Function in SQL
Use of CONCAT Function in SQL
Use of CHARINDEX Function in SQL
Use of CHAR function in SQL
CHAR (Transact-SQL)– Microsoft Docs

Leave a Reply