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 values are be stored in 'a' after the above sample code
is run if it is run on a system where pointers are two bytes lo
char a;
char ca[] = {'a','e','i','o','u','y'};
char* pca = ca;
pca += 2;
a = *pca;
What values are be stored in 'a' after the above sample code
is run if it is run on a system where pointers are two bytes long?
1) a = 'u'
2) a = 'e'
3) a = 'i'
4) The code is illegal. Only a pointer can be added to a pointer,
not an integer.
5) The value cannot be determined without also knowing the size of an
int on the system.
✍: Guest
2012-04-20, 3016👍, 0💬
Popular Posts:
How To Test Transaction Isolation Levels? - MySQL FAQs - Transaction Management: Commit or Rollback ...
What Is the "@SuiteClasses" Annotation? "@SuiteClasses" is a class annotation defined in JUnit 4.4 i...
How To Truncate an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you want to remov...
How To Run "mysql" Commands from a Batch File? - MySQL FAQs - Command-Line End User Interface mysql ...
How To Export Data to an XML File? - Oracle DBA FAQ - Introduction to Oracle SQL Developer If you wa...