Escolar Documentos
Profissional Documentos
Cultura Documentos
com/forum
1.
b.
d.
Visual Studio
a.
c.
e.
All of Above
a.
Unix
2.
b.
Linux
d.
All of above
a.
Low level
c.
3.
Windows
b.
High Level
d.
None of these
a.
Portable
c.
4.
b.
Terse
d.
Efficient
c.
Modular
e.
None of these
a.
Operating system
5.
b.
Text editor
d.
All of above
a.
Ctrl + F9
c.
6.
Compiler
b.
Alt + F9
d.
None of these
a.
30
c.
7.
Ctrl + F5
b.
31
d.
33
c.
8.
C Language MCQ
32
a.
Int
b.
Unsigned int
d.
Unsigned long
c.
Long
e.
All of above
a.
+345
9.
b.
345UL
d.
123.0
a.
0346
c.
123U
0452
d.
0840
a.
0x345
c.
0255
0xA132
d.
0x452F
a.
88
c.
0xG120
89
d.
91
a.
Char
c.
90
Array
d.
Float
a.
Location in memory
c.
Int
14. Variable is a:
b.
d.
None of these
a.
Extrern
c.
Both
Register
Global
d.
None of above
a.
Pushp1
_pushp
d.
pushp_infotech
a.
Real numbers
c.
1Pushp
Characters
d.
None of these
a.
Static
c.
String
Dynamic
d.
None of these
a.
Form feed
c.
Both
Line Brack
d.
None of these
a.
int
c.
double
c.
Alarm
float
d.
void
a.
char
int
d.
double
a.
65
c.
float
b.
d.
None of these
a.
One operand
c.
Both
Two operand
c.
Three operand
d.
None of these
a.
||
&&
d.
None of these
a.
0 && 1 = 0
c.
0 && 1 = 2
c.
$$
25. printf(0 && 1 = %d\n, 0 && 1); Out of this line is:
b.
d.
0 && 1 = 1
0 && 1 = 3
a.
b.
c.
d.
27.
a.
b.
c.
d.
28.
a.
b.
c.
d.
29.
a.
b.
c.
d.
30.
a.
b.
c.
d.
b.
d.
a.
Garbage value.
c.
Both
c.
d.
None of these.
a.
for
goto
d.
if
a.
typedef
c.
character
extern
d.
local
a.
c.
c.
register
d.
a.
Alert
New line
d.
Backspace
a.
Value of a
c.
Form feed
Address of a
d.
None of these.
a.
Array of numbers.
c.
Both
Array of characters.
Both
d.
None of these.
a.
\n
\b
d.
None of these
c.
\0
India
b.
india
d.
iNDIA
a.
strlwr();
c.
INDIA
strcat();
d.
strrev();
f.
None of these.
c.
e.
strcmp()
strlen();
b.
d.
a.
Single value
c.
Many values.
c.
Two Values.
d.
None of these
a.
stdio.h
conio.h
d.
string.h
c.
math.h
45. A function which invokes itself repeatedly until some condition is satisfied is called a
___________ function.
a.
b.
Recursive
System
c.
Library
d.
None of these
a.
Decrement
Increment
d.
Plus-Plus
a.
c.
Add
d.
None of these.
a.
Statically
c.
Both
c.
Dynamically
d.
None of these
a.
Single Dimensional
Multi Dimensional
d.
None of these
a.
c.
c.
Both
d.
a.
Linear
c.
Hierarchical
Non-linear
d.
None of these
a.
d.
None of these
a.
Bubble Sort
c.
b.
Merge Sort
d.
All of above
a.
Prototype
c.
Quick Sort
Definition
d.
Receive
a.
Formal
c.
Call
Actual
d.
None of these
a.
gets();
c.
Both
getch();
d.
scanf();
f.
None of these.
c.
e.
getchar();
getche();
printf();
b.
puts();
d.
putch();
c.
puchar();
e.
None of these.
a.
int x=add(4.2,5);
58. int add(int,int); in the given function prototype select the correct statement:
b.
int x=add(4,25);
d.
int x=add();
a.
Constant value
c.
int x=add(425);
d.
None of these.
a.
int variable
c.
60. int *ptr; here ptr can store the address of:
b.
float variable
c.
d.
double variable
All of above
Value of x;
b.
Address of x;
d.
None of these
a.
Pointer
c.
Both
Pointer to pointer
d.
None of these
a.
c.
Both
Address of variable
d.
None of these
c.
b.
d.
None of these
a.
malloc();
c.
Both
calloc()
d.
All of above.
a.
c.
realloc()
d.
None of these
a.
getch();
c.
scanf();
d.
getche();
c.
gets();
int add(int,int);
b.
d.
float add(float,int);
a.
c.
float add(int,int);
d.
c.
e.
None of these
a.
Text
Binary
d.
None of these
a.
fopen();
c.
Both
fclose();
d.
printf();
a.
c.
fprintf();
d.
wb
f.
All of above
c.
e.
rb
a
Sequence
b.
Selection
d.
All of Above
a.
while
c.
Switch-case
c.
Iteration
if
if-else
a.
Label;
b.
Label:
d.
#Label
a.
Herbert Schieldt
c.
Label,
Banjarne Stroups
d.
None of these
a.
Object Oriented
c.
Dennis Ritchie
Structured
d.
None of these.
a.
c.
Unified Modeling
d.
None of these
a.
Black Box
c.
Both
White Box
d.
Beta
a.
Path Testing
c.
Alfa
Loop Testing
d.
All of these
c.
Domain Testing.