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:
What is the difference between char a[] = “string”; and char *p = “string”;?
What is the difference between char a[] = “string”; and char *p = “string”;?
✍: Guest
In the first case 6 bytes are allocated to the variable a which is fixed, where as in the second case if *p is assigned to some other value the allocate memory can change.
2012-03-07, 2763👍, 0💬
Popular Posts:
How To Get the Minimum or Maximum Value of an Array? - PHP Script Tips - PHP Built-in Functions for ...
What would you use to compare two String variables - the operator == or the method equals()? You can...
How To Test Transaction Isolation Levels? - MySQL FAQs - Transaction Management: Commit or Rollback ...
What will be printed as the result of the operation below: main() { char s1[]="Cisco"; char s2[]="sy...
What is the difference between Session State and ViewState? ViewState is specific to a page in a ses...