MCA
Questions No: 1/50

What is the output of the following code?

int x = 5;
if (x > 3) {
 printf("Greater than 3");
 } else {
 printf("Not greater than 3");
 }

Questions No: 2/50

If a is an integer variable, then a = 5/2 will return a value
यदि a एक integer variable है, तो a = 5/2 मान लौटाएगा

Questions No: 3/50

Which of the following is not a valid relational operator?
निम्नलिखित में से कौन वैध रिलेशनल ऑपरेटर नहीं है?

Questions No: 4/50

Precedence is used
वरीयता का उपयोग किया जाता है

Questions No: 5/50

What is short int in C programming?
C प्रोग्रामिंग में शॉर्ट इंट क्या है?

Questions No: 6/50

The keyword break cannot be simply used within
कीवर्ड ब्रेक का उपयोग केवल भीतर नहीं किया जा सकता है

Questions No: 7/50

What is the output of the following code?

int arr[5] = {1, 2, 3, 4, 5};
printf("%d", arr[3]);

Questions No: 8/50

Which of the following cannot be used in identifiers?
निम्नलिखित में से कौन identifiers में इस्तेमाल नहीं किया जा सकता है?

Questions No: 9/50

What is the purpose of the return statement in a function?

Questions No: 10/50

Which of the following is a valid string constant?
निम्नलिखित में से कौन एक वैध string constant है?

Questions No: 11/50

By default a real number is treated as a
डिफ़ॉल्ट रूप से एक वास्तविक संख्या को माना जाता है

Questions No: 12/50

Which is correct with respect to the size of the data types?
डेटा प्रकारों के आकार के संबंध में कौन सा सही है?

Questions No: 13/50

Which header file is necessary for using the malloc function?

Questions No: 14/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 ऑपरेटर शामिल हैं। उपयोग किए गए कोई कोष्ठक नहीं हैं। उनका मूल्यांकन निम्न में से किस क्रम में किया जाएगा

Questions No: 15/50

For 16 bit compiler allowable range for integer constants is
पूर्णांक स्थिरांक के लिए 16 बिट संकलक स्वीकार्य सीमा है

Questions No: 16/50

Which of the following is the correct syntax for declaring a 2D array in C?

Questions No: 17/50

Which of the following software translates source code into object code?
निम्न में से कौन सा सॉफ़्टवेयर स्रोत कोड को ऑब्जेक्ट कोड में अनुवादित करता है?

Questions No: 18/50

Function of a compiler is
कम्पाइलर का कार्य क्या है

Questions No: 19/50

Function isdigit() is defined in ________ header file.
isdigit() फंक्शन किस हैडर फाइल में डिफाइन है

Questions No: 20/50

What will happen if you try to access an array element out of its bounds in C?

Questions No: 21/50

Which one of the following is not a keyword in C language?
C भाषा में निम्नलिखित में से कौन सा एक keyword नहीं है?

Questions No: 22/50

Arguments that take input by user before running a program are called?
प्रोग्राम चलाने से पहले उपयोगकर्ता द्वारा इनपुट लेने वाले तर्क किसे कहा जाता है?

Questions No: 23/50

If a structure contains another structure as a member, it is called:

Questions No: 24/50

________ is used to transfer control from a function back to the calling function.
_________ एक फ़ंक्शन से कॉलिंग फ़ंक्शन पर नियंत्रण स्थानांतरित करने के लिए उपयोग किया जाता है

Questions No: 25/50

Which mode is used to open a file for reading in C?

Questions No: 26/50

The preprocessor directives start with
प्रीप्रोसेसर निर्देश के साथ शुरू होता है

Questions No: 27/50

The conditional operator ( ? : ) is also known as
Conditional operator (? : ) को और किस नाम से जाना जाता है

Questions No: 28/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

Questions No: 29/50

What is the index of the first element in a C array?

Questions No: 30/50

How would you round off a value from 1.66 to 2.0?
आप १.६६ से २.० के बीच के मूल्य को कैसे समाप्त करेंगे?

Questions No: 31/50

All keywords in C are in
C में सभी कीवर्ड हैं

Questions No: 32/50

In the following nested conditional statements, which branch will execute?

int x = 4;
if (x > 2) {
if (x < 5) {
printf("x is between 2 and 5");
}
} 
else {
printf("x is 2 or less");
}

Questions No: 33/50

What is the output of this statement

printf("%d", (a++));

Questions No: 34/50

The name of all functions end with a
The name of all functions end with a

Questions No: 35/50

Which keyword is used to come out of a loop only for that iteration?
उस पुनरावृत्ति के लिए केवल लूप से बाहर आने के लिए किस कीवर्ड का उपयोग किया जाता है?

Questions No: 36/50

Which numbering system is not handled directly by the printf() conversion specifies ?

Questions No: 37/50

What is the result of the following code: int a = 10, b = 20; printf("%d", a > b ? a : b);

Questions No: 38/50

What is the role of the break statement in a loop?

Questions No: 39/50

What will be the output of the following C code? printf("%d", sizeof(char));

Questions No: 40/50

Which of the following is the correct syntax for a for loop in C?

Questions No: 41/50

What is the correct value to return to the operating system upon the successful completion of a program?
किसी प्रोग्राम के सफल समापन पर ऑपरेटिंग सिस्टम पर लौटने का सही मूल्य क्या है?

Questions No: 42/50

In the passage of text, individual words and punctuation marks are known as
पाठ के मार्ग में, व्यक्तिगत शब्द और विराम चिह्न के रूप में जाना जाता है

Questions No: 43/50

Which of the following is not a type of file access permission?

Questions No: 44/50

printf (%d, printf (infomax));

Questions No: 45/50

Which of the following operators in C has the highest precedence?

Questions No: 46/50

The result of a Relational operation is always
एक Relational ऑपरेशन का परिणाम हमेशा होता है

Questions No: 47/50

What is the size of the int data type (in bytes) in C?

Questions No: 48/50

What is the difference between a declaration and a definition of a variable?
variable के declaration और definition के बीच अंतर क्या है?

Questions No: 49/50

Which code will print k 20 times?
20 बार कौन सा कोड k प्रिंट होगा?

Questions No: 50/50

What are the different types of real data type in C ?
C में विभिन्न प्रकार के real डेटा प्रकार क्या हैं?