In C programming we use printf function (which is part of stdio.h library) to print / output some text or variable on the screen. Following simple C program outputs a text on the screen. It also explains how to move to the new line and how to add tabbed space between words. [js] #include <stdio.h> int main( void ){ // lines starting with double slashes are called as comments. //Comments are used to explain code and they are not executed by compiler printf("Welcome to C!n"); // n moves the cursor to the new line printf("Hello My Name is Junaid Hassant...
forward
Recent Comments
Archives
- November 2024
- July 2021
- December 2020
- November 2020
- September 2020
- August 2020
- July 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- October 2019
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- March 2017
- January 2017
- December 2016
- November 2016
- October 2016
- June 2015
- May 2015
- April 2015