(A) m[2][3] = 5 ; // [row][col]
(B) m[3][2] = 5 ;
(C) m[1][2] = 5 ;
(D) m*2+*3+ = ‘5’;
Category: Introduction to Programming Mcqs
Introduction to Programming Mcqs for Screening tests, Interviews, Viva and Other competitive exams. Programming Mcqs section will help users to prepare mcqs of programming languages for various exams. Aspirants of Lecturer Computer Science, SST Computer Science, Subject Specialist Computer Science, Data Entry operator, Computer Programmer, Computer Operator, Software engineer and all other Competitive Exams can prepare their computer programming portion from here.
When we are using const keyword with a variable x then initializing it at the time of declaration is,?
(A) Must
(B) Optional
(C) Not necessary
(D) A syntax error
If the break statement is missed in switch statement then,?
(A) The compiler will give error
(B) This may cause a logical error
(C) No effect on program
(D) Program stops its execution
In Flow chart process is represented by?
(A) Rectangle
(B) Arrow symbol
(C) Oval
(D) Circle
The size of int data type is?
(A) 1 bytes
(B) 2 bytes
(C) 3 bytes
(D) 4 bytes
In C/C++ the string constant is enclosed?
(A) In curly braces
(B) In small braces
(C) In single quotes
(D) In double quotes
Automatic variable are created on __.
(A) Heap
(B) Free store
(C) static storage
(D) stack
We can also define a user-defines manipulators?
(A) True
(B) False
(C) Both
(D) None