Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » C » C Objective Questions for Beginners

C Objective Questions for Beginners : 25

Page 2 (26 - 50)


Question: 26

(A) Yes
(B) No

Compiler
Level: Beginner Category: preprocessor
[Posted by: Admin | Chicago, USA]


Question: 27

(A) It converts source code into assembly code
(B) It converts a assembly language program into machine language
(C) It convert code generated by Preprocessor to assembly code
(D) None of the above

Compiler
Level: Beginner Category: gcc
[Posted by: Admin | Chicago, USA]


Question: 28

(A) 10
(B) @10
(C) 10@
(D) Compilation Error

Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]


Question: 29

(A) Compilation Error
(B) 10
(C) __10
(D) __a

Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]


Question: 30

(A) 20
(B) Ambiguity Error
(C) 10
(D) 0

Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]


Question: 31

(A) 10
(B) 20
(C) ::20
(D) ::10

Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]


Question: 32

(A) 1020
(B) 1010
(C) 2020
(D) Error: Redeclartion of a

Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]


Question: 33

(A) 10
(B) 10@
(C) @
(D) [Error] stray '@' in program

Compiler
Level: Beginner Category: variables
[Posted by: Admin | Chicago, USA]


Question: 34

(A) .a
(B) .exe
(C) .out
(D) .obj

Compiler
Level: Beginner Category: compilation
[Posted by: Admin | Chicago, USA]


Question: 35

(A) .a
(B) a.obj
(C) a.exe
(D) a.out

Compiler
Level: Beginner Category: compilation
[Posted by: Admin | Chicago, USA]


Question: 36

(A) Ten
(B) Twenty
(C) Thirty
(D) Nothing

Compiler
Level: Beginner Category: switch
[Posted by: Admin | Chicago, USA]


Question: 37

(A) Ten
(B) TenTwenty
(C) Twenty
(D) nothing

Compiler
Level: Beginner Category: switch
[Posted by: Admin | Chicago, USA]


Question: 38

(A) C
(B) 68
(C) D
(D) 67

Compiler
Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 39

(A) i love u 30
(B) i hate u 0
(C) i love u 10
(D) i hate u 30

Compiler
Level: Beginner Category: conditional
[Posted by: Jagadeesh yadav | India ,Ap ,kadapa]


Question: 40

(A) 1
(B) 1.0
(C) 1.0000
(D) 1.000000

Compiler
Level: Beginner Category: datatype
[Posted by: Admin | Chicago, USA]


Question: 41

(A) unary
(B) shift
(C) equality
(D) postfix

Compiler
Level: Beginner Category: operators
[Posted by: Admin | Chicago, USA]


Question: 42

(A) cppbuzz7
(B) 7cppbuzz
(C) cppbuzz8
(D) 8cppbuzz

Compiler
Level: Beginner Category: structure
[Posted by: Admin | Chicago, USA]


Question: 43

(A) Yes
(B) No

Compiler
Level: Beginner Category: structure
[Posted by: Admin | Chicago, USA]


Question: 44

(A) 17
(B) 23
(C) 24
(D) 18

Compiler
Level: Beginner Category: loops
[Posted by: vikas | india]


Question: 45

(A) 150
(B) 168
(C) 195
(D) 252

Compiler
Level: Beginner Category: loops
[Posted by: Admin | Chicago, USA]


Question: 46

(A) 10
(B) 20
(C) 11
(D) 21

Compiler
Level: Beginner Category: loops
[Posted by: anjali | Bangalore, India]


Question: 47

(A) Generates an error message
(B) Extra values are being ignored
(C) Size of Array is increased
(D) Size is neglected when values are given

Compiler
Level: Beginner Category: arrays
[Posted by: Admin | Chicago, USA]


Question: 48

(A) character
(B) integer
(C) Unsigned character
(D) All of these

Compiler
Level: Beginner Category: pointers
[Posted by: Admin | Chicago, USA]


Question: 49

(A) Allocated memory has undefined value
(B) It returns pointer to the allocated space
(C) Pointer is NULL if memory is not allcoated
(D) It doesn't lead to memory leak if memory is not de allocated

Compiler
Level: Beginner Category: malloc_free
[Posted by: Admin | Chicago, USA]


Question: 50

(A) ptr is not a pointer
(B) ptr is a pointer to pointer
(C) Such statement no allowed in C
(D) None of these

Compiler
Level: Beginner Category: pointers
[Posted by: Admin | Chicago, USA]


C Programming Test
Compile C code here | 

Browse C Categories

Preprocessor Assembler Compilation Datatypes Arrays Variables Pointers Functions Loops Switch Structures Union Enum Goto & Labels Storage Classes Malloc & free Macros Conditional Operators File Handling gcc Others

Switch to C++ Questions