1) Which of the following is the first operating system developed using C programming language? a) Windows b) DOS c) Mac d) UNIX e) None of the Above 2) Which of the following is a logical AND operator? a) || b) ! c) && d) & e) All the Above 3) Which format specifier is used for printing double value? a) %Lf b) %L c) %lf d) %d e) None of the Above 4) In a library of C programming language, which of the following header file is used for performing mathematical operations? a) conio.h b) dos.h c) stdio.h d) math.h e) string.h 5) Single line comment in C language begins with _______ a) // b) : c) */ d) /* 6) Which operator can be used for accessing the value stored at address of a pointer variable? a) # b) * c) && d) @ 7) Which of the following is true about C Programming? a) Platform Independent b) High level language c) Machine Independent d) Assembly language 8) The C variables are case insensitive. a) True b) False 9) A character variable can store ___ character(s) at a time. a) 1 b) 2 c) 0 d) NULL 10) What is the built-in library function for comparing the two strings? a) strcmp() b) equals() c) str_compare() d) string_cmp() e) None of the Above 11) What is passed when we pass an array as a function argument? a) Base address of an array b) Address of the last element of array c) First value of elements in array d) All value of element in array 12) Which function finds the first occurrence of a substring in another string? a) strchr() b) strnset() c) strstr() d) None of these.

Tabela

Vizuelni stil

Postavke

Promeni šablon

Vrati automatski sačuvano: ?