Introduction
to C++
Functions
Evaluation
Part – 1
Choose the best answer
1. Which of the following header
file defines the standard I/O predefined functions ?
A) stdio.h
B)
math.h
C)
string.h
D)
ctype.h
2. Which function is used to check
whether a character is alphanumeric or not.
A) isalpha()
B)
isdigit()
C)
isalnum()
D)
islower()
3. Which function begins the
program execution ?
A)
isalpha()
B)
isdigit()
C) main()
D)
islower()
4. Which of the following function
is with a return value and without any argument ?
A)
x=display(int, int)
B) x=display()
C)
y=display(float)
D)
display(int)
5. Which is return data type of the
function prototype of add(int, int); ?
A) int
B)
float
C)
char
D)
double
6. Which of the following is the
scope operator ?
A)>
B)&
C)%
D)::
Related Topics
Privacy Policy, Terms and Conditions, DMCA Policy and Compliant
Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.