Which of the following does not match this Perl pattern? A. 13 B. 0 C. 02 D. 123
ID: 3810260 • Letter: W
Question
Which of the following does not match this Perl pattern? A. 13 B. 0 C. 02 D. 123 Which function below is in the standard library of C to operate on strings? A. substring B. split C. strcmp D. equals Which string type below has fixed length? A. Java's String object B. String in C C. String in JavaScript D. String Perl Which programming language below were the first widely used languages to include an enumeration data type? A. C++ and Java. B. C and Pascal C. C and C++ D. Ada and Pascal Which program language below does not require range checking of subscripts? A. Java B. C# C. C D. ML To deallocate the memory space assigned to the fixed heap-dynamic arrays in C, which library function or operator below can be used? A. delete B. malloc - C. new D. freeExplanation / Answer
5. C. '|' denotes 'or'. So a single zero matches but anything else starting with zero does not. So 02 does not match
6. C. strcmp is in the standard library of C to operate on strings.
7. A. Java's String oject is assigned a fixed length.
8. D. Ada and Pascal were the first widely used languages to incorporate enumeration data type.
9. C. C language does not check the subscripts to be in the specified bounds.
10. D. free is used to deallocate the dynamically assigned memory using calloc or malloc in C.