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, 2697👍, 0💬
Popular Posts:
Should synchronization primitives be used on overrided bean methods? No. The EJB specification speci...
How can I check for HTML errors? HTML validators check HTML documents against a formal definition of...
What is the difference between const char* p and char const* p? In const char* p, the character poin...
What are the different storage classes in C? C has three types of storage: automatic, static and all...
What is the benefit of using #define to declare a constant? Using the #define method of declaring a ...