C_63 Strings in C-part 2 | Read a String using scanf and gets function

preview_player
Показать описание
In this lecture we will discuss:
- How to read a String using scanf and gets function?

*********************************************

Connect & Contact Me:

Telegram Group Link: Jenny's Lectures
*******************************************

More Playlists:

Tags:
strings, string in c, what is string, c programming tutorials, c programming, best c programming tutorials

#coding #strings #jennyslectures #cprogramming #clanguage
Рекомендации по теме
Комментарии
Автор

string is not a data type in c but it is array of character in c and format specifier for string is %s.

aparnamane
Автор

I'm very fortunate i found your YouTube channel. You're a very scholar, talented woman. You tells so many good things to be a programmer. While you're a programmer, it's my dream to become one and your channel is a blessings for me.

giteshzemse
Автор

when you're teaching one good thing is your face is smiley it makes us happy. and felt like that nothing is impossible in life. Thank You So Much.

sarangbhasme
Автор

Strings are not data type they are arrays of characters.

nikitachaurasia
Автор

constant string will be in code segment (compile time)
modificable string will be in stack (runtime)

JKA-sfll
Автор

The C language doe
s not provide an inbuilt data type for strings but it has an access specifier “%s” which can be used to directly print and read strings. You can see in the above program that string can also be read using a single scanf statement.

techieadi
Автор

No, string is not consider as a data type in C but it represents as a character array in C.

siddhianand
Автор

I was also teaching students on coaching ❤👍but your presentation is more student friendly mam

shuvamsahoo
Автор

string is a character array, which is a known for a sequence of multiple characters ended by a special character null (\0) and its format specifier is %s

vishalborate
Автор

string is not a datatype in c but it is considered as an array of characters.
It is a specific type of array whose datatype is always char.

Apshorts
Автор

11 : 40 That Smile Kill Me Alredy And Now I Am Waiting For Anthor Smile 😊

delllaptop
Автор

Your English is very clear to understand
Thank you for your wonderful explanation

ganeshghantasala
Автор

Mam you don't have to be uncomfortable in telling that your channel is the best channel.ofcourse your channel is the best channel..lots of love from Nepali students mam🇳🇵

sudhirchaudhary
Автор

Int main()
{
char name[20];
printf("your name please") ;
gets(name) ;
Printf("hi :") ;
puts(name) ;
}

inside
Автор

String is not a data type in C
But string is a data type in C++

talhashah
Автор

Hello Madam I have a question; In vscode how do I set the cursor to move down to the terminal each time I tap the enter button and I need to input some values especially when using scanf or gets. I find it cumbersome to have to move the cursor down manually all the time.

THETHIRDEYEjoji
Автор

problem: both fgets and puts add a line-break after the input, so that you cannot output the %s in a continuous line of text. that only works with gets, but gets has the buffer problem.

zc
Автор

omaagodd, Your smiling face 😊and great way of teaching ☺️🤩

Aptitude_guide
Автор

very good understanding seeing your videos more helpful

erasamani
Автор

String is not data type, String is constant of character and enclosed character in double quotes

Vijayee