Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Technology Questions
In VSAM, what does a RETURN-CODE value of 28 generally indicate during a read operation on a data set?
In C++ object oriented programming, which of the following is not a valid access specifier keyword (public, protected, or private)?
In data structures, which of the following operations is not the name of a standard sorting method or sorting algorithm?
A binary tree with 7 nodes will have how many null child pointers (empty branches) in its linked representation?
In external sorting and sequential file organisation, which of the following methods are used when storing or merging sequential files on secondary storage?
In hash file organisation, what could the bucket size be if a single collision immediately causes an overflow (collision and overlapping occur at the same time)?
In C++ classes, a default constructor is defined as a constructor that can be called with how many explicit arguments?
In languages such as C++ and Java, where is a typical reference or pointer variable for a local object stored at runtime?
How does variable declaration in C++ differ from traditional C (before C99) with respect to where inside a block variables may be declared?
In C++ object oriented programming, what is a friend function of a class?
What is the output of the following C++ program using a struct and a pointer to the struct? #include
using namespace std; struct sec { int a; char b; }; int main() { sec s = {25, 50}; sec *ps = &s; cout << ps->a << ps->b; return 0; }
When declaring a function pointer in C or C++, which of the following is mandatory to specify so that the pointer type is correctly defined?
What is the output of the following C++ program that calls a function through a function pointer? #include
using namespace std; int n(char c, int i); int (*p)(char, int) = n; int main() { (*p)('d', 9); p('d', 9); return 0; } int n(char c, int i) { cout << c << i; return 0; }
In C and C++, which preprocessor directive keyword is used to define macros?
In C and C++, how many basic types of preprocessor macros are commonly described (object-like macros and function-like macros)?
In C++, what is the primary purpose of using namespaces in a program?
In C++, what is the general syntax for accessing a variable or function that is defined inside a namespace?
For user-defined header files in C and C++, which file extension is most commonly used in source code examples such as #include "myheader.h"?
In C++, what is an inline function and why is it used by the compiler?
In C++ classes, the special member function that is invoked automatically whenever an object goes out of scope or is explicitly deleted is called what?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79