Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

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
Level: Beginner Category of MCQ: variables



Question: 2

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

Compiler
Level: Practitioner Category of MCQ: variables



Question: 3

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

Compiler
Level: Beginner Category of MCQ: variables



Question: 4

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

Compiler
Level: Beginner Category of MCQ: variables



Question: 5

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

Compiler
Level: Beginner Category of MCQ: variables



Question: 6

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

Compiler
Level: Beginner Category of MCQ: variables



Question: 7

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

Compiler
Level: Beginner Category of MCQ: variables



Question: 8

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

Compiler
Level: Practitioner Category of MCQ: variables



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
Level: Practitioner Category of MCQ: variables



Question: 10

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

Compiler
Level: Practitioner Category of MCQ: variables