I am afraid you are wrong Rahul Aravind:

the o/p won't be a space all the time.

the point to note is the format in which i/p is accepted,( the char *format 
passed in scanf() )
i.e "*\"*%[^\"]*\"*"

The i/p format should be "abcd" (marked as red in above for the ").
the string abcd will be considered for i/p only.

But there is a catch, the character set associated with the input. %[^\"]
This represents that the only input that can be accepted is ^ or \ (because 
we can't input a " )

here is a sample input and output. This clarify more what I want to say
http://ideone.com/7PhyQ

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/algogeeks/-/NFLMob3vKPkJ.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to