C Language Questions For NET/SLET/GATE/JE/PSU/TA/JRF/PROGRAMMER Set-01


Q 1 Which of the following language is predecessor to c programming language?
Ans.(A) BPCL 
       (B)B   
       (C)C++ 
       (D)Linux
 Q.2 C programming language is (designed and written) developed by:
Ans.(A) Charles Babbage 
       (B)Dennis Ritchie 
       (C)ken thompson 
       (D)Bjarne Stroustrup

Q.3 C is a language:
Ans.(A)Assembly language 
       (B)Low Level language 
       (C)Middle Level language   
       (D)High Level  language

Q.4 C language is available for which of the following operating system.
Ans.(A)Dos
       (B)C++ 
       (C)Linux 
       (D)All of these

Q.5 Which of the following symbol is used for to denote a pre-processor statement?
Ans.(A)@ 
        (B)~   
       (C)#   
       (D)!

Q.6 Which of the following is a scalar data type?
Ans.(A)pointer 
        (B)structure 
        (C)float 
        (D)array

 Q.7 Which of the following are tokens in c.
Ans.(A)keywords
       (B)identifiers
       (C)literals    
       (D)All of these
   
Q.8 Character constant should be enclose between.
Ans.(A)” “ 
        (B)’ ’   
        (C)” ’ 
        (D), ,

Q.9 String constant…………………
Ans.(A)” ” 
        (B)’ ‘   
        (C)’ “   
        (D)” ,

Q.10 What is the max. length of a variable in c .

Ans.(A)16 
       (B)8   
       (C)64   
       (D)32

Answer Sheet:-Q.1(B) Q.2(B)  Q.3(C)  Q.4(D)  Q.5(C)  Q.6(C)  Q.7(D)  Q.8(B)  Q.9(A)  Q.10 (C)

                                                              Page:-02                                                        

No comments:

Post a Comment