Home » C » C Questions
Page 9 of 10 (161- 180)
Question: 161
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 of MCQ: arrays
Question: 163
(A) character
(B) integer
(C) Unsigned character
(D) All of these
C Compiler IDE
Level: Beginner Category of MCQ: 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 of MCQ: 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 of MCQ: pointers
Question: 167
Question: 169
Question: 171
Question: 172
(A) NULL
(B) cppbuzz
(C) Nothing is printed
(D) Typecasting Error
C Compiler IDE
Level: Expert Category of MCQ: malloc_free
Question: 173
(A) Program runs smoothly
(B) Compilation Error
(C) Runtime Error- Program crashes
C Compiler IDE
Level: Expert Category of MCQ: 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 of MCQ: 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 of MCQ: 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 of MCQ: 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 of MCQ: 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 of MCQ: enum