Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux, Javascript!  

  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux

Interview Questions on Variables in C : Questions (10)

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


Question: 1

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

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



Question: 2

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

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



Question: 3

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

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



Question: 4

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

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



Question: 5

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

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



Question: 6

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

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



Question: 7

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

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



Question: 8

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

Practitioner variables[Posted by: Admin| Location: 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

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



Question: 10

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

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