C Objective Questions for Experts

Home » C » Questions for Experts

Question: 25

(A) -asm
(B) -S
(C) -o
(D) -c

Compiler
Level: Expert Category of MCQ: gcc

Question: 26

(A) __asm__
(B) _asm_
(C) __asm
(D) asm

Compiler
Level: Expert Category of MCQ: gcc

Question: 27

(A) __asm__
(B) _asm_
(C) __asm
(D) asm

Compiler
Level: Expert Category of MCQ: gcc

Question: 28

(A) gcc -o cppbuzz.c
(B) gcc -c cppbuzz.c
(C) gcc -e cppbuzz.c
(D) gcc cppbuzz.c

Compiler
Level: Expert Category of MCQ: gcc

Question: 29

(A) gcc -g
(B) gcc -a
(C) gcc -e
(D) gcc -b

Compiler
Level: Expert Category of MCQ: gcc

Question: 30

(A) gcc -g0
(B) gcc -g1
(C) gcc -g
(D) gcc -g3

Compiler
Level: Expert Category of MCQ: gcc

Question: 31

(A) gcc -W
(B) gcc -w
(C) gcc -Wall
(D) gcc - wall

Compiler
Level: Expert Category of MCQ: gcc

Question: 32

(A) D-Q
(B) D-A
(C) 67-112
(D) 68-113

Compiler
Level: Expert Category of MCQ: arrays

Question: 33

(A) Kernig
(B) ernigh
(C) Kernigh
(D) Ritch

Compiler
Level: Expert Category of MCQ: filehandling

Question: 34

(A) findsize a.out
(B) size a.out
(C) calc a.out
(D) ls -ltr a.out

Compiler
Level: Expert Category of MCQ: compilation

Question: 35

(A) 412412
(B) 41649
(C) 49416
(D) 41649

Compiler
Level: Expert Category of MCQ: operators

Question: 36

(A) There is no difference
(B) Union takes less memory
(C) Union is faster
(D) Structure is faster

Compiler
Level: Expert Category of MCQ: structure

Question: 37

(A) Yes
(B) No

Compiler
Level: Expert Category of MCQ: structure

Question: 38

(A) write()
(B) fwrite()
(C) swrite()
(D) None of the above

Compiler
Level: Expert Category of MCQ: structure

Question: 39

(A) Order members from largest to smallest
(B) Order memebers from smallest to largest
(C) By using only char data type
(D) By using referencial pointer

Compiler
Level: Expert Category of MCQ: operators

Question: 40

(A) Assembly Code
(B) .i file produced by Preprocessor
(C) Object Code
(D) Source Code

Compiler
Level: Expert Category of MCQ: assembler

Question: 41

(A) Executable Instructions
(B) Un-initialized Global Variables
(C) Un-initialized Static Variables
(D) Initialized Static & Global Variables

Compiler
Level: Expert Category of MCQ: compilation

Question: 42

(A) Compilation Error
(B) 8
(C) 7
(D) 0

Compiler
Level: Expert Category of MCQ: operators

Question: 43

(A) float
(B) short int
(C) nothing
(D) compilation error

Compiler
Level: Expert Category of MCQ: operators

Question: 44

(A) str1: Hello. How are you?, str2: Hello. How are you?
(B) str1: Hello. How are you?, str2: Hello. How are you?nullnull
(C) str1: Hello. How are you?, str2: Hello. How are you?garbagevalue
(D) str1: Hello. How are you?, str2: garbagevalue

Compiler
Level: Expert Category of MCQ: arrays

Question: 45

(A) 2 2 3 1
(B) 2 2 3 0
(C) 3 2 3 0
(D) 1 1 2 1

Compiler
Level: Expert Category of MCQ: operators

Question: 46

(A) 999
(B) 10
(C) 0
(D) Segmentation fault

Compiler
Level: Expert Category of MCQ: malloc_free

Question: 47

(A) NULL
(B) cppbuzz
(C) Nothing is printed
(D) Typecasting Error

Compiler
Level: Expert Category of MCQ: malloc_free

Question: 48

(A) Program runs smoothly
(B) Compilation Error
(C) Runtime Error- Program crashes

Compiler
Level: Expert Category of MCQ: malloc_free

Question: 49

(A) _ptr is NULL 0x21f3010 @
(B) _ptr not NULL 0x21f3010 @
(C) Runtime Error: Segmentation Fault
(D) _ptr not NULL 0x21f3010

Compiler
Level: Expert Category of MCQ: malloc_free

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

MCQs

About Us | Contact Us | Privacy Policy | Career  | Online Training
Youtube   LinkedIn   Facebook   Twitter   Instagram  
Copyright©CppBuzz.com
Like many websites, we use cookies to ensure best browsing experience on our website. While using this website, you acknowledge to have read and accepted our cookie and privacy policy.