Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
Why does the call char scanf work?
Why does the call
char s[30];
scanf("%s", s);
work? I thought you always needed an & on each variable passed to scanf.
✍: Guest
You always need a pointer; you don't necessarily need an explicit &. When you pass an array to scanf, you do not need the &, because arrays are always passed to functions as pointers, whether you use & or not.
2015-10-30, 1158👍, 0💬
Popular Posts:
Can Two Forms Be Nested? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields Can two forms ...
Advantages of a macro over a function? Macro gets to see the Compilation environment, so it can expa...
Can you please post OpenLink Endur related FAQ's,tutorials,document s.Thanks
WHat will be the result of the following code? #define TRUE 0 // some code while (TRUE) { // some co...
How can I show HTML examples without them being interpreted as part of my document? Within the HTML ...