so what should be the correct question after writing % specifier.

On Tue, Aug 30, 2011 at 11:48 PM, Sanjay Rajpal <srn...@gmail.com> wrote:

> yes % has to be there.
>
> Sanju
> :)
>
>
>
> On Tue, Aug 30, 2011 at 11:12 AM, sukran dhawan <sukrandha...@gmail.com>wrote:
>
>> yes conversion specifier missing i think
>>
>>
>> On Tue, Aug 30, 2011 at 11:37 PM, SANDEEP CHUGH 
>> <sandeep.aa...@gmail.com>wrote:
>>
>>> but sanjay in the ques it is "*c*cd"
>>>
>>> shudn't there be a % before that ??
>>>
>>>
>>> On Tue, Aug 30, 2011 at 11:22 PM, Sanjay Rajpal <srn...@gmail.com>wrote:
>>>
>>>> Run the following program :
>>>>
>>>> main()
>>>> {
>>>> int a,b;
>>>> scanf("%d %*d",&a,&b);
>>>> printf("\na= %d, b=%d",a,b);
>>>> }
>>>>
>>>> now see the values of a and b, and post the result here.
>>>>
>>>> Sanju
>>>> :)
>>>>
>>>>
>>>>
>>>> On Tue, Aug 30, 2011 at 10:46 AM, sukran dhawan <sukrandha...@gmail.com
>>>> > wrote:
>>>>
>>>>> i don think so.can u brief it ?
>>>>>
>>>>>
>>>>> On Tue, Aug 30, 2011 at 10:45 PM, Sanjay Rajpal <srn...@gmail.com>wrote:
>>>>>
>>>>>> only year gets scanned here, * suppresses assignment of day and month.
>>>>>>
>>>>>> Sanju
>>>>>> :)
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Aug 30, 2011 at 9:08 AM, sukran dhawan <
>>>>>> sukrandha...@gmail.com> wrote:
>>>>>>
>>>>>>> sscanf is similar to scanf except that input is read from string
>>>>>>> rather than keyboard or i/o
>>>>>>> *c -supression character.it reads character and discards it.doesnt
>>>>>>> store it anywhere
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Aug 30, 2011 at 9:32 PM, Mani Bharathi <
>>>>>>> manibharat...@gmail.com> wrote:
>>>>>>>
>>>>>>>> char*str="11/1/1999";
>>>>>>>>
>>>>>>>> sscanf(str,"*c*cd",&month,&day,&year);
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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/-/60kR7ykKiksJ.
>>>>>>>> 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.
>>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Algorithm Geeks" group.
>>>>>>> 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.
>>>>>>>
>>>>>>
>>>>>>  --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Algorithm Geeks" group.
>>>>>> 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.
>>>>>>
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Algorithm Geeks" group.
>>>>> 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.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Algorithm Geeks" group.
>>>> 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.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> 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.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> 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.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
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