Path: utzoo!attcan!utgpu!watmath!iuvax!uxc.cso.uiuc.edu!csd4.milw.wisc.edu!leah!rds95
From: rds95@leah.Albany.Edu (Robert Seals)
Newsgroups: comp.lang.c
Subject: Probably an easy or dumb question
Keywords: scan
Message-ID: <1949@leah.Albany.Edu>
Date: 10 Aug 89 13:30:29 GMT
Organization: The University at Albany, Computer Services Center
Lines: 12

Hello frenz, is it workable to pass only the base address of an array
to "?scanf" and have it convert into successive memory locations?

int    d[4];

scanf("%d %d %d %d", d);

I guess the question is whether "scanf" uses the format string or
the number of arguments to determine how many thingies to convert.
So, what is it?

rob