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

You are here : Home » C » Interview Questions on Variables in C

Interview Questions on Variables in C : (10)


Question: 1

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

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



Question: 2

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

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



Question: 3

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

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



Question: 4

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

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



Question: 5

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

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



Question: 6

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

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



Question: 7

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

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



Question: 8

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

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



Question: 9

(A) Hello 0 0 0 10 12 0
(B) Hello 5 5 1 10 12 3
(C) Hello 6 6 6 10 12 3
(D) Hello 6 6 2 2 10 12 8

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



Question: 10

(A) 50 69#51 59
(B) 50 60#52 58
(C) 50 60#51 59
(D) 50 59#51 60

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