(A) Function
(B) Procedure
(C) Parameterized macro
(D) Simple macro
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.
Application Softwares are use to?
(A) Type letters
(B) Control computer hardware
(C) Solve end user problems
(D) Develop Graphics
A variable which is defined inside a function is called?
(A) Automatic variable
(B) Global variable
(C) Functional variable
(D) None of the given option
The statement i++; is equivalent to?
(A) i = i + i;
(B) i = i + 1;
(C) 3) : i = i – 1;
(D) i –;
Which one of the following operators is a unary operator?
(A) OR ( || )
(B) AND ( &&)
(C) XOR ( ^ )
(D) Complement operator ( ~ )
If the statements int j,k; j = 123; k= 234; int* q, * r; cout < < *q < < ' ' < < * r ; are executed, what will be displayed?
(A) The values of j and k
(B) The addresses of q and r
(C) The addresses of j and k
(D) garbage values
We can also use member functions with cin and cout objects?
(A) True
(B) False
(C) Both
(D) None
“new” and “delete” keywords are __ in C++ language.
(A) Built-in- Function
(B) Operators
(C) Memory Allocation Function
(D) None of the given options