Showing posts with label MCQ FOR C language. Show all posts
Showing posts with label MCQ FOR C language. Show all posts

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


Q.1 C allows array of greater than two dimensions, who will determined this.
Ans.( A)programmer    (B)compiler    (C)parameter                  (D)None of these 

Q.2 Find the output of the following
        float a=5.5;
       Printf(“%d\n”,a);
Ans. (A)Runtime error  (B)5                (C)5.5                            (D)0

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



Q.1 In C, malloc() function is used in dynamic memory allocation  in which header file.
Ans. (A)stdio.h     (B)math.h       (C)conio.h      (D)stdlib.h

Q.2 Null character is represented by.
Ans. (A)\0           (B)\End               (C)\null                (D)\

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



Q.1 A declaration float a, b; occupies …….of  memory.
Ans. (A)4  (B) 8 (C)16  (D)32

Q.2 In C, File manipulation function are available in which header file.
Ans. (A)stdlib.h  (B)math.h  (C)files.h  (D)conio.h