return
static
new
volatile
Adjective
Adverbs
Noun
Verb
*
&
%
#
Both can occur multiple times, but a declaration must occur first.
A definition occurs once, but a declaration may occur many times.
Both can occur multiple times, but a definition must occur first.
A declaration occurs once, but a definition may occur many times.
<
=
>=
<=
printf("\n");
echo '\n';
printf('\n');
printf('\\n')
To exit the function and return control to the calling function
To pause the function temporarily
To call the function again
To exit the program
-4
-2.8
+2.8
+3
float
real
int
double
Moves the file pointer to a specific location
Reads a file
Writes to a file
Closes a file
0
1
-1
Depends on array size
include
char
break
exit(0)
abort()
All of the mentioned
A number
A special symbol other than underscore
Both of the above
An alphabet
conio.h
string.h
math.h
graphic.h
Either True or False
is less than or is more than
is equal or less or more
All of the above
link, load, code, compile and execute
code, compile, link, execute and load
code, compile, link, load and execute
compile, code, link, load and execute
Stack
CISC
RISC
Parallel
Public
Protected
Private
None of the mentioned
switch
goto
go back
They execute programs faster than compilers
They translate the entire program at once
They translate and execute code line by line
They are not used in modern programming
To determine which operator evaluated first from left to right.
To determine the level of an operator in a program.
To determine how an expression involving more than one operator is evaluated.
To check the expression is valid or not.
do-while
if-else
for
while
-5
+5
stdio.h
stdlib.h
None of these
signed short
unsigned short
long
2
3
4
Continue
exit
An Editor
A compiler
An operating system
Infinitely
Variable
for loop
while loop
do-while loop
None of the above
getchar()
gets()
scanf()
cin.get()
What will be output if you will compile and execute the following c code?
int main(){ int a=5; float b; printf("%d",sizeof(++a+b)); printf(" %d",a); return 0;}
2 6
4 6
2 5
4 5
char > int > float
int > char > float
char < int < double
double > char > int
Decimal
Binary
Octal
Hexadecimal
Depends on the system
auto
case
main
default
5
6
Undefined
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
8
16
strlen()
sizeof()
length()
strlength()
Consider the following code and How many bytes of memory will be allocated?
int *ptr = (int *)malloc(10 * sizeof(int));
10 bytes
20 bytes
80 bytes
40 bytes
What is the output of the following code?
int a = 5;printf("%d", a == 5);
Keywords can be used as variable names
Variable names can contain digits
Variable names do not contain blank spaces
Capital letters can be used in variable names.
function(int ptr);
function(int *ptr);
function(*ptr);
function(ptr *int);
It returns the size of the variable in bits
It returns the size of the variable in bytes
It returns the size of the variable in kilobytes
It returns the number of elements in an array
throws
throw
threw
thrown
Logical Operator
Conditional Operator
typecast
Ternary
eagerly
quickly
slowly
loudly