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

You are here : Home » C » C Objective Questions and Answers

C Objective Questions and Answers - 160

Page 1 (1 - 100)


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) 11
(B) 10
(C) Compilation Error
(D) 0

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



Question: 4

(A) mathio.h
(B) math.h
(C) square.h
(D) stdio.h

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



Question: 5

(A) stdio.h
(B) conio.h
(C) stdlib.h
(D) stdlibio.h

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



Question: 6

(A) math.h
(B) mathio.h
(C) string.h
(D) ctype.h

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



Question: 7

(A) 6,6
(B) 6,7
(C) 7,7
(D) 0,0

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



Question: 8

(A) Operator Overloading
(B) Function Overloading
(C) Function Overriding
(D) Function renaming

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



Question: 9

(A) sum is function which takes int arguments
(B) sum is a function which takes two int arguments and returns void
(C) it will produce compilation error
(D) Can't comment

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



Question: 10

(A) 1970
(B) 1972
(C) 1978
(D) 1979

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 11

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

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



Question: 12

(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: 13

(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: 14

(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: 15

(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: 16

(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: 17

(A) 5
(B) 10
(C) 25
(D) 50

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



Question: 18

(A) cppbuzz is printed 5 times
(B) Compilation Error
(C) cppbuzz is printed 1 times
(D) Nothing is printed

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



Question: 19

(A) 55
(B) 54
(C) 1
(D) 0

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



Question: 20

(A) 1 time
(B) Compilation Error
(C) Infinite times
(D) Runtime Error

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



Question: 21

(A) 1 time
(B) 0 time
(C) Compilation/Runtime Error
(D) Blank Screen in Infinite Loop

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



Question: 22

(A) CppBuzz.com is printed Infinite times
(B) CppBuzz.com is printed 1 time only
(C) Nothing is printed
(D) Program gives error

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



Question: 23

(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: 24

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

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



Question: 25

(A) 0 time
(B) 1 time
(C) Compilation Error
(D) Infinite times

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



Question: 26

(A) 1 time
(B) 0 time
(C) Infinite times
(D) Error: Lvalue Required

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



Question: 27

(A) 1 time
(B) Infinite Times(Untill Stack is overflow)
(C) 2 times
(D) Error

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



Question: 28

(A) 1 time
(B) Compilation Error
(C) 0 time
(D) Infinite Times(Untill Stack is Overflow)

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



Question: 29

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

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



Question: 30

(A) 4 times
(B) 5 times
(C) 0 time
(D) Infinite times

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



Question: 31

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

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



Question: 32

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

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



Question: 33

(A) 320
(B) 60
(C) 160
(D) 64

Compiler DiscussOnForum
Practitioner pointers[Posted by: Admin | Chicago, USA]



Question: 34

(A) The CppBuzz.com
(B) The C
(C) The CppBuzz
(D) Compilation Error

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



Question: 35

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

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



Question: 36

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

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



Question: 37

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

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



Question: 38

(A) #include<stdio.h>
(B) return 0
(C) void main(int argc , char ** argv)
(D) None of above

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



Question: 39

(A) 3.33
(B) 3.0
(C) 3
(D) 0

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



Question: 40

(A) Compilation Error
(B) 0
(C) CppBuzz.com
(D) CppBuzz.com11

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



Question: 41

(A) Java
(B) Php
(C) C
(D) Visual Basix

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 42

(A) 1 1
(B) 2 2
(C) 4 4
(D) Undefined

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



Question: 43

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

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



Question: 44

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

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



Question: 45

(A) Declaration
(B) Definition

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



Question: 46

(A) 20
(B) 0
(C) Undefined reference to i
(D) Linking Error

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



Question: 47

(A) True
(B) False

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



Question: 48

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

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



Question: 49

(A) 1
(B) 2
(C) No Limit
(D) Depends on Compiler

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



Question: 50

(A) Yes
(B) No

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



Question: 51

(A) Yes
(B) No

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



Question: 52

(A) Yes
(B) No

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



Question: 53

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

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



Question: 54

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

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



Question: 55

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

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



Question: 56

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

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



Question: 57

(A) .4
(B) 23
(C) 23.45
(D) 23.

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



Question: 58

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

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



Question: 59

(A) a
(B) "a"
(C) nothing
(D) Compilation Error

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



Question: 60

(A) a
(B) %
(C) Compilation Error
(D) Nothing is printed

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



Question: 61

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

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



Question: 62

(A) binary form
(B) ASCII code form
(C) decimal form
(D) alphanumeric form

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 63

(A) 66D
(B) 41H
(C) 0100 0010
(D) 0110 0011

Compiler DiscussOnForum
Beginner other[Posted by: Admin | Chicago, USA]



Question: 64

(A) 48D
(B) 32H
(C) 0011 1000
(D) 42H

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



Question: 65

(A) C11
(B) C99
(C) C95
(D) C89

Compiler DiscussOnForum
Practitioner other[Posted by: Admin | Chicago, USA]



Question: 66

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

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



Question: 67

(A) Yes
(B) No

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



Question: 68

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

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



Question: 69

(A) Yes
(B) No

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



Question: 70

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

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



Question: 71

(A) Yes
(B) No

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



Question: 72

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

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



Question: 73

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

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



Question: 74

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

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



Question: 75

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

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



Question: 76

(A) CppBuzz.com
(B) No output
(C) Compilation Error in preprocessing
(D) None of above

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



Question: 77

(A) Yes
(B) No
(C) Depends on Compiler

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



Question: 78

(A) CppBuzz.com
(B) Nothing
(C) Compilation Error
(D) Depends on Compilor

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



Question: 79

(A) -- #include<stdio.h>
(B) // #include<stdio.h>
(C) ''#include<stdio.h>
(D) ##include<stdio.h>

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



Question: 80

(A) Yes
(B) No

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



Question: 81

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



Question: 82

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

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



Question: 83

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

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



Question: 84

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

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



Question: 85

(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: 86

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

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



Question: 87

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

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



Question: 88

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

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



Question: 89

(A) cppbuzz-Good place to learn C
(B) cppbuzz-Bad place to learn C
(C) Good place to learn C
(D) Bad place to learn C

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



Question: 90

(A) cppbuzz-Bad place to learn C
(B) cppbuzz-Good place to learn C
(C) Bad place to learn C
(D) Good place to learn C

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



Question: 91

(A) 0 - too young
(B) Compilation Error
(C) Nothing is printed
(D) How old are you? 16 - too young

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



Question: 92

(A) Easy
(B) Hard
(C) C programming is Easy
(D) None of the above

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



Question: 93

(A) Easy
(B) Hard
(C) EasyHard
(D) Error in program

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



Question: 94

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

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



Question: 95

(A) 10
(B) 20
(C) 2a
(D) Compilation Error

Compiler DiscussOnForum
Practitioner variables[Posted by: Admin | Chicago, USA]



Question: 96

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

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



Question: 97

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

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



Question: 98

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

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



Question: 99

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

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



Question: 100

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

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