Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : c - FUNCTIONS
FUNCTIONS
00:00:00
English
Hindi
Question No# :
01
out of 24
The keyword used to transfer control from a function back to the calling function is
The keyword used to transfer control from a function back to the calling function is
A.
switch
switch
B.
goto
goto
C.
go back
go back
D.
return
return
Question No# :
02
out of 24
A self contained block of statements that perform a coherent task of some kind is called a
A self contained block of statements that perform a coherent task of some kind is called a
A.
Monitor
Monitor
B.
Function
Function
C.
Program
Program
D.
Structure
Structure
Question No# :
03
out of 24
Which of the following keywords is used to return a value from a function?
Which of the following keywords is used to return a value from a function?
A.
exit
exit
B.
break
break
C.
continue
continue
D.
return
return
Question No# :
04
out of 24
Function putchar() displays
Function putchar() displays
A.
one word at a time on the screen
one word at a time on the screen
B.
one character at a time
one character at a time
C.
result on the screen
result on the screen
D.
None of the above
None of the above
Question No# :
05
out of 24
Function isdigit() is defined in ________ header file.
isdigit() फंक्शन किस हैडर फाइल में डिफाइन है
A.
ctype.h
ctype.h
B.
stdio.h
stdio.h
C.
conio.h
conio.h
D.
math.h
math.h
Question No# :
06
out of 24
What is the return-type of the function sqrt()
फ़ंक्शन sqrt () का रिटर्न-प्रकार क्या है
A.
int
int
B.
float
float
C.
double
double
D.
depends on the data type of the parameter
depends on the data type of the parameter
Question No# :
07
out of 24
In the absence of a exit condition in a recursive function, the following error is given
एक पुनरावर्ती फ़ंक्शन में निकास स्थिति की अनुपस्थिति में, निम्नलिखित त्रुटि दी गई है
A.
Compile time error
Compile time error
B.
Run time error
Run time error
C.
Logical error
Logical error
D.
No error
No error
Question No# :
08
out of 24
________ is used to transfer control from a function back to the calling function.
_________ एक फ़ंक्शन से कॉलिंग फ़ंक्शन पर नियंत्रण स्थानांतरित करने के लिए उपयोग किया जाता है
A.
Return
Return
B.
GOTO
GOTO
C.
Switch
Switch
D.
exit
exit
Question No# :
09
out of 24
getchar() function is available in which header file?
getchar() function is available in which header file?
A.
Stdio.h
Stdio.h
B.
Conio.h
Conio.h
C.
Math.h
Math.h
D.
Header.h
Header.h
Question No# :
10
out of 24
The value obtained in the function is given back to main by using ________ keyword.
फ़ंक्शन में प्राप्त मान को ________ कीवर्ड का उपयोग करके मुख्य रूप से वापस दिया जाता है।
A.
return
return
B.
static
static
C.
new
new
D.
volatile
volatile
Question No# :
11
out of 24
How would you round off a value from 1.66 to 2.0?
आप १.६६ से २.० के बीच के मूल्य को कैसे समाप्त करेंगे?
A.
ceil(1.66)
ceil(1.66)
B.
floor(1.66)
floor(1.66)
C.
roundup(1.66)
roundup(1.66)
D.
roundto(1.66)
roundto(1.66)
Question No# :
12
out of 24
Which of the following correctly declares a function in C?
Which of the following correctly declares a function in C?
A.
int func();
int func();
B.
func() int;
func() int;
C.
function int func();
function int func();
D.
declare int func();
declare int func();
Question No# :
13
out of 24
The data structure used to implement recursive function calls
डेटा संरचना का उपयोग पुनरावर्ती फ़ंक्शन कॉल को लागू करने के लिए किया जाता है
A.
Array
Array
B.
Linked list
Linked list
C.
Binary tree
Binary tree
D.
Stack
Stack
Question No# :
14
out of 24
The name of all functions end with a
The name of all functions end with a
A.
pair of parenthesis
pair of parenthesis
B.
semicolon
semicolon
C.
braces
braces
D.
colon
colon
Question No# :
15
out of 24
What is the purpose of the return statement in a function?
What is the purpose of the return statement in a function?
A.
To exit the function and return control to the calling function
To exit the function and return control to the calling function
B.
To pause the function temporarily
To pause the function temporarily
C.
To call the function again
To call the function again
D.
To exit the program
To exit the program
Question No# :
16
out of 24
Which of the following function declaration need not have a return statement in its body?
Which of the following function declaration need not have a return statement in its body?
A.
int a(char *s)
int a(char *s)
B.
void b(int a[], int n)
void b(int a[], int n)
C.
float *c()
float *c()
D.
short d(long x)
short d(long x)
Question No# :
17
out of 24
Recursion is sometimes called
Recursion is sometimes called
A.
Circular definition
Circular definition
B.
Complex definition
Complex definition
C.
Procedure
Procedure
D.
Union
Union
Question No# :
18
out of 24
The value obtained in the function is given back to main by using ________ keyword?
फ़ंक्शन में प्राप्त मान को ________ कीवर्ड का उपयोग करके मुख्य रूप से वापस दिया जाता है?
A.
return
return
B.
static
static
C.
new
new
D.
volatile
volatile
Question No# :
19
out of 24
Which keyword can be used for coming out of recursion?
पुनरावृत्ति से बाहर आने के लिए किस कीवर्ड का उपयोग किया जा सकता है?
A.
break
break
B.
return
return
C.
exit
exit
D.
Both break and return
Both break and return
Question No# :
20
out of 24
An array can be passed to a function by
किसी सरणी को फ़ंक्शन द्वारा पास किया जा सकता है
A.
Call by reference
Call by reference
B.
Call by value
Call by value
C.
Call by reference by passing base address to a function
Call by reference by passing base address to a function
D.
Both A and C
Both A and C
Question No# :
21
out of 24
pow(x,y) is used to
pow (x, y) का उपयोग किया जाता है
A.
power of y to the x
power of y to the x
B.
power of x to the y
power of x to the y
C.
logarithm of x on the base y
logarithm of x on the base y
D.
Such function does not exist
Such function does not exist
Question No# :
22
out of 24
Which of the following is true about recursion in C?
Which of the following is true about recursion in C?
A.
A function can call itself
A function can call itself
B.
A function cannot call itself
A function cannot call itself
C.
Recursion is not supported in C
Recursion is not supported in C
D.
Recursion is the same as iteration
Recursion is the same as iteration
Question No# :
23
out of 24
Header file for the sqrt() function is
Sqrt () फ़ंक्शन के लिए हैडर फ़ाइल है
A.
conio.h
conio.h
B.
string.h
string.h
C.
math.h
math.h
D.
graphic.h
graphic.h
Question No# :
24
out of 24
In C, if you pass an array as an argument to a function, what actually gets passed?
C में, यदि आप किसी फ़ंक्शन के तर्क के रूप में एक सरणी पास करते हैं, तो वास्तव में क्या पारित होता है?
A.
Value of elements in array
Value of elements in array
B.
First element of the array
First element of the array
C.
Base address of the array
Base address of the array
D.
Address of the last element of array
Address of the last element of array
Latest Current Affairs 2025
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2025
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz