What would be the output of the following statement?
char* value = 'hello';
printf( '%s', value );
a) h
b) hello
c) value
d) none of these
d) none of these
You might also like to view...
Which is the most efficient way to concatenate the two strings, "quick brown fox" and "jumped over the lazy dog" in Java?
A. String string1 = "quick brown fox"; string1 = string1 + " jumped over the lazy dog"; B. String string1 = "quick brown fox"; String string2 = string1 + " jumped over the lazy dog"; C. String string1 = "quick brown fox"; String string2 =" jumped over the lazy dog"; String string3 = string1 + string2; D. StringBuffer buffer = new StringBuffer("quick brown fox"); buffer.append(" jumped over the lazy dog"); String string1 = buffer.toString();
The ____ is created automatically when you install the Web Server role.
A. DefaultApp B. DefaultPool C. ApplicationPool D. DefaultAppPool
The header line ____ declares calc to be a pointer to a function that returns an integer.
A. int *calc() B. int (*calc)() C. int &calc() D. int calc(*)
The quick sort efficiency is ____.
A. O(n log n) B. O(n) C. O(n²) D. O(log n)