Rajasthan Technical Education Second Year Paper 2016 – C Programming
‘C’ language is a
(a) High level language
(b) Low level language
(c) High & Low level language
(d) Machine language
‘C’ language uses
(a) Compiler
(b) Interpreter
(c) Both (a) & (b)
(d) None of the above
Which of the following are tokens in C language ?
(a) Keywords
(b) Variables
(c) Constants
(d) All of the above
Which of the following is NOT a keyword in C language ?
(a) auto
(b) default
(c) extern
(d) function
which of the following is a ternary oeprator ?
(a) ?:
(b) *
(c) sizeof
(d) ^
What will be the output of the expression 11^13 ?
(a) 15
(b) 6
(c) 9
(d) None of the above
Which is sizeof in C language ?
(a) Operator
(b) Keyword
(c) Both (a) & (b)
(d) Function
Which of the following is type cast operator in C language ?
(a) (type)
(b) cast
(c) //
(d) sizeof
Which of the following function is used to read a line of text from keyboard ?
(a) gets()
(b) scanf()
(c) both (a) & (b)
(d) None of the above
Which of the following funciton is used to read a character immediately as you type ?
(a) getchar()
(b) getch()
(c) getche()
(d) Both (b) & (c)
Which of the following format specifier is used to print the value of double type variable ?
(a) % lf
(b) % ld
(c) % lu
(d) % f
Which of the following is NOT a branching control statement ?
(a) goto
(b) if….else
(c) switch
(d) while
Data type of selection expression used in switch statement can be
(a) int
(b) char
(c) float
(d) both (a) & (b)
In which of the following continue statement cannot be used ?
(a) for
(b) while
(c) switch
(d) do ……while
Which of following is NOT a derived data type ?
(a) Array
(b) Function
(c) Pointer
(d) Structure
Leave a Reply