main()
{
char name[10],s[12];
scanf("\"%[^\"]\"",s);
}

How this scanf will scan?

Recommended Answers

All 2 Replies

Why don't you try it and find out...

Why don't you try it and find out...

I tried but i could not understand how it scan....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.