CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL Javascript Linux Forum

You are here : Home » C » C Objective Questions for Experts

C Objective Questions for Experts : 45


Question: 1

(A) Yes
(B) No
(C) Depends on Compiler
(D) Yes but run time error

Compiler DiscussOnForum
Expert structure[Posted by: Admin | Chicago, USA]



Question: 2

(A) extern
(B) auto
(C) register
(D) static

Compiler DiscussOnForum
Expert storgeclass[Posted by: Admin | Chicago, USA]



Question: 3

(A) Compilation Error
(B) Runtime Error
(C) Hello is printed one time
(D) Hello is printed infinite times

Compiler DiscussOnForum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 4

(A) Compilation Error
(B) Runtime Error
(C) Nothing is printed
(D) Hello is printed infinite times

Compiler DiscussOnForum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 5

(A) Hello is printed 5 times
(B) Compilation Error
(C) Runtime Error
(D) Hello is printed 4 times

Compiler DiscussOnForum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 6

(A) Hello is printed 5 times
(B) Compilation Error
(C) Hello is printed 2 times
(D) Hello is printed 3 times

Compiler DiscussOnForum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 7

(A) 0--01--12--23--34--
(B) 00--10--20--30--40--
(C) Compilation Error
(D) 00--01--02--03--04--

Compiler DiscussOnForum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 8

(A) 0 times
(B) Infinite times (Untill Stack is overflow)
(C) 1 time
(D) Nothing is printed

Compiler DiscussOnForum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 9

(A) 5 times
(B) 4 times
(C) 2 times
(D) 1 time

Compiler DiscussOnForum
Expert loops[Posted by: Admin | Chicago, USA]



Question: 10

(A) 10
(B) 20
(C) 30
(D) Compilation Error

Compiler DiscussOnForum
Expert operators[Posted by: Admin | Chicago, USA]



Question: 11

(A) 0
(B) 15
(C) Undefined i
(D) Any other Compiler Error

Compiler DiscussOnForum
EXpert datatype[Posted by: Admin | Chicago, USA]



Question: 12

(A) Compilation Error
(B) Runtime Error
(C) __0
(D) __30

Compiler DiscussOnForum
Expert datatype[Posted by: Admin | Chicago, USA]



Question: 13

(A) 10
(B) 0
(C) Compilation Error
(D) Undefined

Compiler DiscussOnForum
Expert datatype[Posted by: Admin | Chicago, USA]



Question: 14

(A) Operator
(B) Function
(C) Macro
(D) None of these

Compiler DiscussOnForum
Expert operators[Posted by: Admin | Chicago, USA]



Question: 15

(A) Yes
(B) No

Compiler DiscussOnForum
Expert filehandling[Posted by: Admin | Chicago, USA]



Question: 16

(A) 1
(B) 2
(C) 0
(D) Compilation Error

Compiler DiscussOnForum
Expert conditional[Posted by: Admin | Chicago, USA]



Question: 17

(A) 1234
(B) 12340
(C) 123
(D) 0

Compiler DiscussOnForum
Expert function[Posted by: Admin | Chicago, USA]



Question: 18

(A) 0
(B) 23.5
(C) 23.450000
(D) 23.4

Compiler DiscussOnForum
Expert function[Posted by: Admin | Chicago, USA]



Question: 19

(A) CppBuzz10
(B) CppBuzz-10
(C) CppBuzz 10
(D) Compilation Error

Compiler DiscussOnForum
Expert function[Posted by: Admin | Chicago, USA]



Question: 20

(A) a
(B) %a
(C) %%
(D) %

Compiler DiscussOnForum
Expert function[Posted by: Admin | Chicago, USA]



Question: 21

(A) Linker
(B) Compiler
(C) Assembler
(D) Preprocessor

Compiler DiscussOnForum
Expert preprocessor[Posted by: Admin | Chicago, USA]



Question: 22

(A) .h
(B) .exe
(C) .i
(D) .asm

Compiler DiscussOnForum
Expert preprocessor[Posted by: Admin | Chicago, USA]



Question: 23

(A) Yes
(B) No

Compiler DiscussOnForum
Expert preprocessor[Posted by: Admin | Chicago, USA]



Question: 24

(A) #include<stdio.h>
(B) #include"stdio.h"
(C) Both A & B

Compiler DiscussOnForum
Expert datatype[Posted by: Admin | Chicago, USA]



Question: 25

(A) #pragma
(B) #error
(C) #ifndef
(D) #elseif

Compiler DiscussOnForum
Expert macros[Posted by: Admin | Chicago, USA]



Question: 26

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

Compiler DiscussOnForum
Expert gcc[Posted by: Admin | Chicago, USA]



Question: 27

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

Compiler DiscussOnForum
Expert gcc[Posted by: Admin | Chicago, USA]



Question: 28

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

Compiler DiscussOnForum
Expert gcc[Posted by: Admin | Chicago, USA]



Question: 29

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

Compiler DiscussOnForum
Expert gcc[Posted by: Admin | Chicago, USA]



Question: 30

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

Compiler DiscussOnForum
Expert gcc[Posted by: Admin | Chicago, USA]



Question: 31

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

Compiler DiscussOnForum
Expert gcc[Posted by: Admin | Chicago, USA]



Question: 32

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

Compiler DiscussOnForum
Expert gcc[Posted by: Admin | Chicago, USA]



Question: 33

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

Compiler DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]



Question: 34

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

Compiler DiscussOnForum
Expert filehandling[Posted by: Admin | Chicago, USA]



Question: 35

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

Compiler DiscussOnForum
Expert compilation[Posted by: Admin | Chicago, USA]



Question: 36

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

Compiler DiscussOnForum
Expert operators[Posted by: Admin | Chicago, USA]



Question: 37

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

Compiler DiscussOnForum
Expert structure[Posted by: Admin | Chicago, USA]



Question: 38

(A) Yes
(B) No

Compiler DiscussOnForum
Expert structure[Posted by: Admin | Chicago, USA]



Question: 39

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

Compiler DiscussOnForum
Expert structure[Posted by: Admin | Chicago, USA]



Question: 40

(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 DiscussOnForum
Expert operators[Posted by: Admin | Chicago, USA]



Question: 41

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

Compiler DiscussOnForum
Expert assembler[Posted by: Admin | Chicago, USA]



Question: 42

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

Compiler DiscussOnForum
Expert compilation[Posted by: Admin | Chicago, USA]



Question: 43

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

Compiler DiscussOnForum
Expert operators[Posted by: Admin | Chicago, USA]



Question: 44

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

Compiler DiscussOnForum
Expert operators[Posted by: Varun Kumar Reddy | Bangalore]



Question: 45

(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 DiscussOnForum
Expert arrays[Posted by: Admin | Chicago, USA]


Compile C++ code here Upload your Questions

Browse C++ Categories

Loops Conditional Functions Operators Structure Enum Storage Classes Union FileHandling Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Reference Variables Static Cast Dynamic Cast Reinterpret Cast Const Cast Virtual Functions Abstract Class STL Singleton Class C++ 11 C++ 14 C++ 17 C++ 20 gcc/g++ others

Switch to C Questions