Create and Use FUNCTION in C Language:
(1) FUNCTION is a set of code that runs when it is called. In this blog, we will see how to create and called FUNCTION in C language.
(2) Advantage of creating FUNCTION is that they are reused. Means defining the code once and using FUNCTION many times.
(3) In C Language, there are Predefined functions such as MAIN(), PRINTF(), SCANF().
(4) Sample C language code and its output, as shown.
// Creation of new function
x = 2;
myfirstfunction(); //call the function
(3) After that go to the “Build” menu and select the “Build” option for publishing the code as shown.
(4) After building the code, press the “Run” button, as shown.
(5) After pressing the “run” button, the output screen is opened, as shown.
|Use of ASCII function in SQL|
Use of CONCAT_WS Function in SQL
DATALENGTH (Transact-SQL)– Microsoft Docs
How to Create New Database in Microsoft SQL Server