main()

{

char name[10],s[12];

scanf(" \"%[^\"]\"",s);

}

How scanf will execute?

Answer Posted / susie

Answer :

First it checks for the leading white space and discards
it.Then it matches with a quotation mark and then it reads
all character upto another quotation mark.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a Program in 'C' To Insert a Unique Number Only. (Hint: Just Like a Primary Key Numbers In Database.) Please Some One Suggest Me a Better Solution for This question ??

1783


Write a program to model an exploding firecracker in the xy plane using a particle system

3697


Design an implement of the inputs functions for event mode

2968


create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00

6318


Develop a routine to reflect an object about an arbitrarily selected plane

3001






Sir... please give some important coding questions asked by product companies..

1805


could you please send the program code for multiplying sparse matrix in c????

3078


how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.

2147


What is full form of PEPSI

1873


How to palindrom string in c language?

8882


Hi, i have a project that the teacher want a pyramid of numbers in C# or java...when we click a button...the pyramid should be generated in a listbox/or JtextArea...and the pyramid should have the folowing form: 1 232 34543 4567654 567898765 67890109876 7890123210987 890123454321098 90123456765432109 0123456789876543210 Plz help with codes...didn't find anything on the net.

2692


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

2867


What is data _null_? ,Explain with code when u need to use it in data step programming ?

2828


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

3859


write a program for area of circumference of shapes

2038