filmov
tv
Write a Program to Display your name in C [ 3 Different Methods ]
![preview_player](https://i.ytimg.com/vi/OCdKGjqat-I/maxresdefault.jpg)
Показать описание
Write a Program to Display your name in C [ 3 Different Methods ]
Video Content :
00:00 Introduction (About all the Steps)
00:41 Creating a New C File
00:51 CPP to C file [Saving C File]
02:13 C Syntax
03:34 C printf() Function
04:00 Compile and Run the FILE
05:20 Output
05:31 Print name using Variables
09:25 Get user name and Print user Name
12:28 Final Output
12:40 Thanks For watching
Video Content (in text)
If you want to print your Name using C Language we Have Print Function for that (Actually more Options in C Language to Print our Names but we are going to Discuss only This Print Function methods in this Tutorial).
Where Print Function take any String or Numeric value from users and Print that Value in the Output screen when we run our C Program.
So if you want to Print your name using C Language the you need to Write Print function inside your C Program and between the Print functions double Quotes you need to write your Name.
Like : printf(“My Name“);
1) First Open You C Programming Software (Turbo C++)
2) Create New File And Save that New File With myname.c name. (here myname is out file name and .c is out C program’s Extension that will help our compiler to understand our program’s programming language.)
3) Write this code As shown Below:
4) Run your program by pressing ctrl+f9 (Turbo c++ user).
Print your Name using C Program
getch( ):
Usually getch() (getch function) is used to read a character from screen. But here we are using this to add a Pause to our Output Screen. If we don’t add this in our program, our program’s output screen will close quickly after running our program.
clrscr( ):
When we run our C Program for 1st time we Get our value. but after making some changes to our C program when we run the program we get out new output with the old output.
To remove those Old/Previews Output/Results values, We use clrscr();
Top Queries: Replanted to [ Write a Program to Display your name in C ]
write a program to print your name
write a program to display your name in c
print name in c
Webpage Like (if you want to Read a Post about this Topic)
write a c program to display your name
c program to print name and address
write a program to display your name
name of the program printed
c program to print name
c program to input name and display
how to print name in c
Video Content :
00:00 Introduction (About all the Steps)
00:41 Creating a New C File
00:51 CPP to C file [Saving C File]
02:13 C Syntax
03:34 C printf() Function
04:00 Compile and Run the FILE
05:20 Output
05:31 Print name using Variables
09:25 Get user name and Print user Name
12:28 Final Output
12:40 Thanks For watching
Video Content (in text)
If you want to print your Name using C Language we Have Print Function for that (Actually more Options in C Language to Print our Names but we are going to Discuss only This Print Function methods in this Tutorial).
Where Print Function take any String or Numeric value from users and Print that Value in the Output screen when we run our C Program.
So if you want to Print your name using C Language the you need to Write Print function inside your C Program and between the Print functions double Quotes you need to write your Name.
Like : printf(“My Name“);
1) First Open You C Programming Software (Turbo C++)
2) Create New File And Save that New File With myname.c name. (here myname is out file name and .c is out C program’s Extension that will help our compiler to understand our program’s programming language.)
3) Write this code As shown Below:
4) Run your program by pressing ctrl+f9 (Turbo c++ user).
Print your Name using C Program
getch( ):
Usually getch() (getch function) is used to read a character from screen. But here we are using this to add a Pause to our Output Screen. If we don’t add this in our program, our program’s output screen will close quickly after running our program.
clrscr( ):
When we run our C Program for 1st time we Get our value. but after making some changes to our C program when we run the program we get out new output with the old output.
To remove those Old/Previews Output/Results values, We use clrscr();
Top Queries: Replanted to [ Write a Program to Display your name in C ]
write a program to print your name
write a program to display your name in c
print name in c
Webpage Like (if you want to Read a Post about this Topic)
write a c program to display your name
c program to print name and address
write a program to display your name
name of the program printed
c program to print name
c program to input name and display
how to print name in c
Комментарии