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 - INTRODUCTION
INTRODUCTION
00:00:00
English
Hindi
Question No# :
01
out of 50
All keywords in C are in
C में सभी कीवर्ड हैं
A.
LowerCase letters
छोटे अक्षर
B.
UpperCase letters
बड़े अक्षर
C.
CamelCase letters
CamelCase letters
D.
None of these
इनमें से कोई नहीं
Question No# :
02
out of 50
Which data type is most suitable for storing a number 65000 in a 32-bit system?
32-बिट सिस्टम में नंबर 65000 को संग्रहीत करने के लिए कौन सा डेटा प्रकार सबसे उपयुक्त है?
A.
signed short
signed short
B.
unsigned short
unsigned short
C.
long
long
D.
int
int
Question No# :
03
out of 50
If a is an integer variable, then a = 5/2 will return a value
यदि a एक integer variable है, तो a = 5/2 मान लौटाएगा
A.
2.5
2.5
B.
2
2
C.
2.000000
2.000000
D.
2.500000
2.500000
Question No# :
04
out of 50
What is the size of an int data type in C?
What is the size of an int data type in C?
A.
2 bytes
2 bytes
B.
4 bytes
4 bytes
C.
8 bytes
8 bytes
D.
1 byte
1 byte
Question No# :
05
out of 50
Standard ANSI C recognizes ______ number of keywords?
मानक ANSI C, कीवर्ड की ______ संख्या को पहचानता है?
A.
30
30
B.
32
32
C.
36
36
D.
40
40
Question No# :
06
out of 50
Which of the following is a valid string constant?
निम्नलिखित में से कौन एक वैध string constant है?
A.
“programming Trick”
“programming Trick”
B.
“programming"
“programming"
C.
‘programming'
‘programming'
D.
$ programming $
$ programming $
Question No# :
07
out of 50
<p>What will be the output of the following code?</p><pre><span style="font-size: 14px;">int x = 5;<br></span><span style="font-size: 14px;">printf("%d", ++x);</span></pre>
<br>
A.
4
4
B.
5
5
C.
6
6
D.
7
7
Question No# :
08
out of 50
Which of the following is a valid identifier?
निम्नलिखित में से कौन एक वैध identifier है?
A.
1return
1return
B.
return1
return1
C.
return
return
D.
$return_1
$return_1
Question No# :
09
out of 50
Which of the following is true about interpreters?
Which of the following is true about interpreters?
A.
They execute programs faster than compilers
They execute programs faster than compilers
B.
They translate the entire program at once
They translate the entire program at once
C.
They translate and execute code line by line
They translate and execute code line by line
D.
They are not used in modern programming
They are not used in modern programming
Question No# :
10
out of 50
What is correct order of precedence in C?
C में पूर्वता का सही क्रम क्या है?
A.
Addition, Division, Modulus
Addition, Division, Modulus
B.
Addition, Modulus, Division
Addition, Modulus, Division
C.
Multiplication, Substration, Modulus
Multiplication, Substration, Modulus
D.
Modulus, Multiplication, Substration
Modulus, Multiplication, Substration
Question No# :
11
out of 50
in C language the output of 14 % 4 is
सी भाषा में 14% 4 का आउटपुट है
A.
1
1
B.
2
2
C.
3
3
D.
4
4
Question No# :
12
out of 50
If i = 8 and j = 5 are two integers, then the value of a=(i>0) || (j < 5) ; is
If i = 8 and j = 5 are two integers, then the value of a=(i>0) || (j < 5) ; is
A.
-5
-5
B.
1
1
C.
0
0
D.
+5
+5
Question No# :
13
out of 50
What is the correct syntax to output "Hello World" in C?
What is the correct syntax to output "Hello World" in C?
A.
print("Hello World");
print("Hello World");
B.
echo("Hello World");
echo("Hello World");
C.
printf("Hello World");
printf("Hello World");
D.
None of these
None of these
Question No# :
14
out of 50
Which of the following operators in C has the highest precedence?
Which of the following operators in C has the highest precedence?
A.
*
*
B.
+
+
C.
++
++
D.
&&
&&
Question No# :
15
out of 50
In the passage of text, individual words and punctuation marks are known as
पाठ के मार्ग में, व्यक्तिगत शब्द और विराम चिह्न के रूप में जाना जाता है
A.
Constants
Constants
B.
Keywords
Keywords
C.
Operators
Operators
D.
Tokens
Tokens
Question No# :
16
out of 50
What is the size of an int data type?
int डेटा प्रकार का आकार क्या है?
A.
4 Bytes
4 Bytes
B.
8 Bytes
8 Bytes
C.
Depends on the system/compiler
Depends on the system/compiler
D.
Cannot be determined
Cannot be determined
Question No# :
17
out of 50
Which of the following is not logical operator?
निम्नलिखित में से कौन तार्किक ऑपरेटर नहीं है?
A.
&
&
B.
&&
&&
C.
||
||
D.
!
!
Question No# :
18
out of 50
Which of the following software translates source code into object code?
निम्न में से कौन सा सॉफ़्टवेयर स्रोत कोड को ऑब्जेक्ट कोड में अनुवादित करता है?
A.
Compiler
Compiler
B.
Interpreter
Interpreter
C.
Assembler
Assembler
D.
None of These
इनमें से कोई नहीं
Question No# :
19
out of 50
Which one of the following is not a valid identifier?
निम्नलिखित में से कौन एक valid identifier नहीं है?
A.
_infomax
_infomax
B.
3infomax
3infomax
C.
infomax_ica
infomax_ica
D.
infomax123
infomax123
Question No# :
20
out of 50
What is the purpose of the sizeof operator in C?
What is the purpose of the sizeof operator in C?
A.
It returns the size of the variable in bits
It returns the size of the variable in bits
B.
It returns the size of the variable in bytes
It returns the size of the variable in bytes
C.
It returns the size of the variable in kilobytes
It returns the size of the variable in kilobytes
D.
It returns the number of elements in an array
It returns the number of elements in an array
Question No# :
21
out of 50
Which function is used to read a single character from the user in C?
Which function is used to read a single character from the user in C?
A.
getchar()
getchar()
B.
gets()
gets()
C.
scanf()
scanf()
D.
cin.get()
cin.get()
Question No# :
22
out of 50
Which of the following cannot be a variable name in C?
निम्नलिखित में से कौन सी में एक variable नाम नहीं हो सकता है?
A.
volatile
volatile
B.
true
true
C.
friend
friend
D.
export
export
Question No# :
23
out of 50
Which one is incorrect statement for C Language?
C भाषा के लिए कौन सा गलत कथन है?
A.
C compiler supports octal integer constant.
सी संकलक अष्ट पूर्णांक स्थिरांक का समर्थन करता है।
B.
C compiler supports hexadecimal integer constant.
सी कंपाइलर हेक्साडेसिमल पूर्णांक स्थिरांक का समर्थन करता है।
C.
C compiler supports binary integer constant.
सी कंपाइलर बाइनरी पूर्णांक स्थिरांक का समर्थन करता है।
D.
C compiler supports decimal integer constant.
C कंपाइलर दशमलव पूर्णांक स्थिरांक का समर्थन करता है।
Question No# :
24
out of 50
The result of a Relational operation is always
एक Relational ऑपरेशन का परिणाम हमेशा होता है
A.
Either True or False
या तो सच या गलत
B.
is less than or is more than
से कम है या इससे अधिक है
C.
is equal or less or more
बराबर या कम या अधिक है
D.
All of the above
ऊपर के सभी
Question No# :
25
out of 50
What is the correct value to return to the operating system upon the successful completion of a program?
किसी प्रोग्राम के सफल समापन पर ऑपरेटिंग सिस्टम पर लौटने का सही मूल्य क्या है?
A.
1
1
B.
-1
-1
C.
0
0
D.
2
2
Question No# :
26
out of 50
Identify the correct sequence of steps to run a c program
सी प्रोग्राम चलाने के लिए चरणों के सही अनुक्रम को पहचानें
A.
link, load, code, compile and execute
link, load, code, compile and execute
B.
code, compile, link, execute and load
code, compile, link, execute and load
C.
code, compile, link, load and execute
code, compile, link, load and execute
D.
compile, code, link, load and execute
compile, code, link, load and execute
Question No# :
27
out of 50
Which of the following is the correct order of evaluation for the given expression? z = x + y * z / 4 % 2 - 1
निम्न expression के लिए मूल्यांकन का सही क्रम निम्नलिखित में से कौन सा है? z = x + y * z / 4% 2 - 1
A.
* / % + - =
* / % + - =
B.
= * / % + -
= * / % + -
C.
/ * % - + =
/ * % - + =
D.
* % / - + =
* % / - + =
Question No# :
28
out of 50
Function of a compiler is
कम्पाइलर का कार्य क्या है
A.
put together the file and functions that are required by the program
प्रोग्राम द्वारा आवश्यक फ़ाइल और फ़ंक्शंस एक साथ रखें
B.
translate the instructions into a form suitable for execution by the program
कार्यक्रम द्वारा निष्पादन के लिए उपयुक्त रूप में निर्देशों का अनुवाद करें
C.
load the executable code into the memory and execute them
मेमोरी में निष्पादन योग्य कोड लोड करें और उन्हें निष्पादित करें
D.
allow the user to type the program
उपयोगकर्ता को प्रोग्राम टाइप करने की अनुमति दें
Question No# :
29
out of 50
Which of the following a not a basic data type used in C language?
निम्नलिखित में से कौन C language में प्रयुक्त एक basic data type नहीं है?
A.
double
double
B.
float
float
C.
char
char
D.
array
array
Question No# :
30
out of 50
Which of the following is not a valid relational operator?
निम्नलिखित में से कौन वैध रिलेशनल ऑपरेटर नहीं है?
A.
<
<
B.
=
=
C.
>=
>=
D.
<=
<=
Question No# :
31
out of 50
<p>What is the output of the following code?</p><pre>main()<br>{<br><span style="white-space:pre"> </span>int a, b; a=b=4;<br><span style="white-space:pre"> </span>b=a++;<br><span style="white-space:pre"> </span>printf("%d %d %d %d", a++, --b, ++a, b--);<br>}</pre>
<p><br></p>
A.
5 3 7 3
5 3 7 3
B.
Syntax error
Syntax error
C.
5 4 5 3
5 4 5 3
D.
6 2 6 4
6 2 6 4
Question No# :
32
out of 50
C was primarily developed as
C को मुख्य रूप से किसके लिए विकसित किया गया था
A.
System programming language
System programming language
B.
General purpose language
General purpose language
C.
Data processing language
Data processing language
D.
None of the above
None of the above
Question No# :
33
out of 50
What are the different types of real data type in C ?
C में विभिन्न प्रकार के real डेटा प्रकार क्या हैं?
A.
float, double
float, double
B.
short int, double, long int
short int, double, long int
C.
float, double, long double
float, double, long double
D.
double, long int, float
double, long int, float
Question No# :
34
out of 50
<p>What will be the output of the following pseudo code ?</p><pre>Integer a<br>Set a =4<br>do<br><span style="white-space:pre"> </span>print a + 2<br> a = a-1<br>while (a not equals 0)<br>end while</pre>
<p><br></p>
A.
6 6 6 6
6 6 6 6
B.
6 5 4 3
6 5 4 3
C.
6 7 8 9
6 7 8 9
D.
6 8 10 12
6 8 10 12
Question No# :
35
out of 50
Which of the following language is predecessor to C Programming Language?
निम्नलिखित में से कौन सी भाषा C प्रोग्रामिंग लैंग्वेज की पूर्ववर्ती है?
A.
A
A
B.
B
B
C.
ADA
ADA
D.
C++
C++
Question No# :
36
out of 50
Arguments that take input by user before running a program are called?
प्रोग्राम चलाने से पहले उपयोगकर्ता द्वारा इनपुट लेने वाले तर्क किसे कहा जाता है?
A.
main function arguments
main function arguments
B.
main arguments
main arguments
C.
Command-Line arguments
Command-Line arguments
D.
Parameterized arguments
Parameterized arguments
Question No# :
37
out of 50
Which of the following cannot be used in identifiers?
निम्नलिखित में से कौन identifiers में इस्तेमाल नहीं किया जा सकता है?
A.
Spaces
Spaces
B.
Digits
Digits
C.
Underscores
Underscores
D.
Letters
Letters
Question No# :
38
out of 50
Which programming method is followed in C language
C भाषा में किस प्रोग्रामिंग विधि का पालन किया जाता है
A.
Algorithm
Algorithm
B.
Flow-Charts
Flow-Charts
C.
Procedural
Procedural
D.
Object Oriented
Object Oriented
Question No# :
39
out of 50
The format identifier ‘%i’ is also used for _____ data type.
प्रारूप पहचानकर्ता % i ’का उपयोग _____ डेटा प्रकार के लिए भी किया जाता है।
A.
char
char
B.
int
int
C.
float
float
D.
double
double
Question No# :
40
out of 50
C Language developed at _________?
C लैंग्वेज कहा विकसित हुई ?
A.
AT & Ts Bell Laboratories of USA in 1972
1972 में यूएसए की एटी एंड टी बेल लेबोरेटरीज
B.
AT & Ts Bell Laboratories of USA in 1970
1970 में यूएसए की एटी एंड टी बेल लेबोरेटरीज
C.
Sun Microsystems in 1973
सन माइक्रोसिस्टम्स 1973 में
D.
Cambridge University in 1972
1972 में कैम्ब्रिज यूनिवर्सिटी
Question No# :
41
out of 50
In an assignment statement a=b; which of the following statement is true?
असाइनमेंट स्टेटमेंट में a = b; निम्नलिखित में से कौन सा कथन सत्य है?
A.
it Compare the variable a and the variable b are same.
यह variable a की तुलना variable b से करता है की ये समान हैं या नहीं
B.
The value of b is assigned to variable a but if b changes later, it will not effect the value of variable a.
B का मान परिवर्तनशील को दिया जाता है, लेकिन यदि बाद में b बदल जाता है, तो यह चर के मान को प्रभावित नहीं करेगा।
C.
The value of b is assigned to variable a but if b changes later, it will effect the value of variable a.
B का मान चर को सौंपा गया है लेकिन यदि बाद में b में परिवर्तन होता है, तो यह चर के मान को प्रभावित करेगा।
D.
The value of variable a is assigned to variable b, and the value of variable b is assigned to variable a.
वेरिएबल a का मान वेरिएबल b को असाइन किया गया है, और वेरिएबल b का वैल्यू वेरिएबल a को असाइन किया गया है।
Question No# :
42
out of 50
<p>What will be output if you will compile and execute the following c code?</p><pre>int main()<br>{ <br><span style="white-space:pre"> </span>int a=5; <br><span style="white-space:pre"> </span>float b;<br><span style="white-space:pre"> </span>printf("%d",sizeof(++a+b));<br><span style="white-space:pre"> </span>printf(" %d",a); return 0;<br>}</pre>
<p><br></p>
A.
2 6
2 6
B.
4 6
4 6
C.
2 5
2 5
D.
4 5
4 5
Question No# :
43
out of 50
Which one of the following is not a reserved keyword for C?
निम्नलिखित में से कौन सी C के लिए आरक्षित कीवर्ड नहीं है?
A.
auto
auto
B.
case
case
C.
main
main
D.
default
default
Question No# :
44
out of 50
<p>What will be output if you compile and execute the following ‘C’ code?</p><pre><span style="font-size: 14px;">void main()<br></span><span style="font-size: 14px;">{<br></span><span style="font-size: 14px;">int i=4,x;<br></span><span style="font-size: 14px;">x=++i + ++i + ++i;<br></span><span style="font-size: 14px;">printf("%d",x);<br></span><span style="font-size: 14px;">}</span></pre>
A.
21
21
B.
18
18
C.
19
19
D.
Compilation error
Compilation error
Question No# :
45
out of 50
<p>What will be the output of the following program?</p> <pre>int main() <br>{ <br><span style="white-space:pre"> </span>int x=5; <br><span style="white-space:pre"> </span>printf(“%d %d %d”,x,x<<2,x>>2); <br>}</pre>
<p><br></p>
A.
1 20 5
1 20 5
B.
5 1 20
5 1 20
C.
5 20 1
5 20 1
D.
20 1 5
20 1 5
Question No# :
46
out of 50
which is used to converts an expression to a specified data type
जिसका उपयोग किसी expression को एक specified डेटा प्रकार में परिवर्तित करने के लिए किया जाता है
A.
Logical Operator
Logical Operator
B.
Conditional Operator
Conditional Operator
C.
typecast
typecast
D.
Ternary
Ternary
Question No# :
47
out of 50
What is the difference between a declaration and a definition of a variable?
variable के declaration और definition के बीच अंतर क्या है?
A.
Both can occur multiple times, but a declaration must occur first.
दोनों कई बार हो सकते हैं, लेकिन घोषणा पहले होनी चाहिए।
B.
A definition occurs once, but a declaration may occur many times.
एक परिभाषा एक बार होती है, लेकिन एक घोषणा कई बार हो सकती है।
C.
Both can occur multiple times, but a definition must occur first.
दोनों कई बार हो सकते हैं, लेकिन परिभाषा पहले होनी चाहिए।
D.
A declaration occurs once, but a definition may occur many times.
एक घोषणा एक बार होती है, लेकिन एक परिभाषा कई बार हो सकती है।
Question No# :
48
out of 50
a ‘C’ expression contains relational, assignment and arithmetic operators. There are no parentheses used. They will be evaluated in which of the following order
एक C expression में relational, assignment और arithmetic ऑपरेटर शामिल हैं। उपयोग किए गए कोई कोष्ठक नहीं हैं। उनका मूल्यांकन निम्न में से किस क्रम में किया जाएगा
A.
Assignment Relational Arithmetic
Assignment Relational Arithmetic
B.
Arithmetic Relational Assignment
Arithmetic Relational Assignment
C.
Relational Arithmetic Assignment
Relational Arithmetic Assignment
D.
Assignment Arithmetic Relational
Assignment Arithmetic Relational
Question No# :
49
out of 50
What is the result of the following code: int a = 10, b = 20; printf("%d", a > b ? a : b);
What is the result of the following code: int a = 10, b = 20; printf("%d", a > b ? a : b);
A.
10
10
B.
20
20
C.
0
0
D.
None
None
Question No# :
50
out of 50
<p>When the following piece of code is executed, what happens?</p><pre><span style="font-size: 14px;">b = 3;<br></span><span style="font-size: 14px;">a = b++;</span></pre>
<p><br></p>
A.
a contains 3 and b contains 4
a contains 3 and b contains 4
B.
a contains 4 and b contains 4
a contains 4 and b contains 4
C.
a contains 4 and b contains 3
a contains 4 and b contains 3
D.
a contains 3 and b contains 3
a contains 3 and b contains 3
Latest Current Affairs 2026
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2026
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