ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ C LANGUAGE - INTRODUCTION MCQ Questions
English
Hindi
Question No. -
51
Report Bug
Which data type is most suitable for storing a number 65000 in a 32-bit system?
32-बिट सिस्टम में नंबर 65000 को संग्रहीत करने के लिए कौन सा डेटा प्रकार सबसे उपयुक्त है?
32-बिट सिस्टम में नंबर 65000 को संग्रहीत करने के लिए कौन सा डेटा प्रकार सबसे उपयुक्त है?
A.
signed short
signed short
B.
unsigned short
unsigned short
C.
long
long
D.
int
int
Explanation
65000 comes in the range of short (16-bit) which occupies the least memory. Signed short ranges from -32768 to 32767 and hence we should use unsigned short.
Question No. -
52
Report Bug
What is the size of an int data type?
int डेटा प्रकार का आकार क्या है?
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
Explanation
The size of the data types depend on the system.
Question No. -
53
Report Bug
What is short int in C programming?
C प्रोग्रामिंग में शॉर्ट इंट क्या है?
C प्रोग्रामिंग में शॉर्ट इंट क्या है?
A.
The basic data type of C
The basic data type of C
B.
Qualifier
Qualifier
C.
Short is the qualifier and int is the basic data type
Short is the qualifier and int is the basic data type
D.
All of the mentioned
सभी का उल्लेख है
Question No. -
54
Report Bug
Which is correct with respect to the size of the data types?
डेटा प्रकारों के आकार के संबंध में कौन सा सही है?
डेटा प्रकारों के आकार के संबंध में कौन सा सही है?
A.
char > int > float
char > int > float
B.
int > char > float
int > char > float
C.
char < int < double
char < int < double
D.
double > char > int
double > char > int
Explanation
char has less bytes than int and int has less bytes than double in any system
Question No. -
55
Report Bug
Which keyword is used to prevent any changes in the variable within a C program?
C प्रोग्राम के भीतर variable में किसी भी परिवर्तन को रोकने के लिए किस कीवर्ड का उपयोग किया जाता है?
C प्रोग्राम के भीतर variable में किसी भी परिवर्तन को रोकने के लिए किस कीवर्ड का उपयोग किया जाता है?
A.
immutable
immutable
B.
mutable
mutable
C.
const
const
D.
volatile
volatile
Explanation
const is a keyword constant in C program
Question No. -
56
Report Bug
Size of short integer and long integer can be verified using the sizeof() operator
Size of short integer and long integer can be verified using the sizeof() operator
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
57
Report Bug
Right shift of an unsigned integer by one bit is equivalent to multiplying it by two.
Right shift of an unsigned integer by one bit is equivalent to multiplying it by two.
A.
TRUE
सही
B.
FALSE
गलत
Question No. -
58
Report Bug
C Programming Language was developed and written by
C प्रोग्रामिंग लैंग्वेज का विकास और लेखन द्वारा किया गया
C प्रोग्रामिंग लैंग्वेज का विकास और लेखन द्वारा किया गया
A.
Martin Richards
Martin Richards
B.
Dennis Ritchie
Dennis Ritchie
C.
Ken Thompson
Ken Thompson
D.
Herman Hellorith
Herman Hellorith
Question No. -
59
Report Bug
Which of the following is false in ‘C’ Programming Language
निम्नलिखित में से कौन सी ’C’ प्रोग्रामिंग भाषा में गलत है
निम्नलिखित में से कौन सी ’C’ प्रोग्रामिंग भाषा में गलत है
A.
Keywords can be used as variable names
कीवर्ड का उपयोग variable नामों के
रूप में किया जा सकता है
B.
Variable names can contain digits
Variable नामों में अंक हो सकते हैं
C.
Variable names do not contain blank spaces
Variable नामों में रिक्त स्थान नहीं
होते हैं
D.
Capital letters can be used in variable names.
बड़े अक्षरों का उपयोग variable
नामों में किया जा सकता है।
Question No. -
60
Report Bug
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 ऑपरेटर शामिल हैं। उपयोग किए गए कोई कोष्ठक नहीं हैं। उनका मूल्यांकन निम्न में से किस क्रम में किया जाएगा
एक 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
1
2
3
4
5
6
7
8
9
10
11
12
13
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad