C Objective Questions And Answers - 195
Page 9 of 10 (161- 180)
Question: 161
(A) 2 2 3 1
(B) 2 2 3 0
(C) 3 2 3 0
(D) 1 1 2 1
C Compiler IDE
Level: Expert Category: operators
Question: 162
(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
C Compiler IDE
Level: Beginner Category: arrays
Question: 163
(A) character
(B) integer
(C) Unsigned character
(D) All of these
C Compiler IDE
Level: Beginner Category: pointers
Question: 164
(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
C Compiler IDE
Level: Beginner Category: malloc_free
Question: 165
(A) ptr is not a pointer
(B) ptr is a pointer to pointer
(C) Such statement no allowed in C
(D) None of these
C Compiler IDE
Level: Beginner Category: pointers
Question: 169
(A) Compilation Error
(B) 0
(C) 1
(D) 2
C Compiler IDE
Level: Practionar Category: structure
Question: 171
(A) 999
(B) 10
(C) 0
(D) Segmentation fault
C Compiler IDE
Level: Expert Category: malloc_free
Question: 172
(A) NULL
(B) cppbuzz
(C) Nothing is printed
(D) Typecasting Error
C Compiler IDE
Level: Expert Category: malloc_free
Question: 173
(A) Program runs smoothly
(B) Compilation Error
(C) Runtime Error- Program crashes
C Compiler IDE
Level: Expert Category: malloc_free
Question: 175
(A) Program runs smoothly & nothing is printed
(B) Runtime Error : Crash
(C) Compilation Error
(D) None of these
C Compiler IDE
Level: Practionar Category: malloc_free
Question: 176
(A) Program runs smoothly
(B) Compilation Error
(C) Program runs smoothly but has memory leak
(D) Runtime Error : Crash
C Compiler IDE
Level: Practionar Category: malloc_free
Question: 177
(A) Compilation Error
(B) Runtime Error: Crash
(C) Program runs smoothly but has memory leak
(D) Program runs smoothly & nothing is printed
C Compiler IDE
Level: Practionar Category: malloc_free
Question: 178
(A) _ptr is NULL 0x21f3010 @
(B) _ptr not NULL 0x21f3010 @
(C) Runtime Error: Segmentation Fault
(D) _ptr not NULL 0x21f3010
C Compiler IDE
Level: Expert Category: malloc_free
Question: 180
(A) Enum can contain enum but duplicate contestants are not allowed
(B) Enum can't contain enum
(C) Enum can contain enum but not accessible
(D) This code will produce compilation error
C Compiler IDE
Level: Beginner Category: enum