MCA
Questions No: 1/50

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

Questions No: 2/50

Which header file is necessary for using the malloc function?

Questions No: 3/50

C was primarily developed as
C को मुख्य रूप से किसके लिए विकसित किया गया था

Questions No: 4/50

When the following piece of code is executed, what happens?

b = 3;
a = b++;

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

What will be output if you compile and execute the following ‘C’ code?

void main()
{
int i=4,x;
x=++i + ++i + ++i;
printf("%d",x);
}

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/50

Who is father of C Language?
C लैंग्वेज का जनक कौन है?

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

The do…while looping statement

Questions No: 14/50

Which of the following is a logical operator in C?

Questions No: 15/50

in C language How will you print '\n' on the screen?
आप स्क्रीन पर '\ n' कैसे प्रिंट करेंगे?

Questions No: 16/50

What is the size of an int data type in C?

Questions No: 17/50

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

Questions No: 18/50

What will be the output of the following code?

int a = 10, b = 20;
printf("%d", a + b);

Questions No: 19/50

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

Questions No: 20/50

Which of the following is not logical operator?
निम्नलिखित में से कौन तार्किक ऑपरेटर नहीं है?

Questions No: 21/50

Which of the following is an incorrect assignment statement ?
निम्नलिखित में से कौन एक गलत असाइनमेंट स्टेटमेंट है?

Questions No: 22/50

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

Questions No: 23/50

Which one of the following is not a reserved keyword for C?
निम्नलिखित में से कौन सी C के लिए आरक्षित कीवर्ड नहीं है?

Questions No: 24/50

Which function is used to read a single character from the user in C?

Questions No: 25/50

Which of the following can be used as a variable name?
निम्नलिखित में से कौन सा एक variable नाम के रूप में इस्तेमाल किया जा सकता है?

Questions No: 26/50

Which one of the following are not valid variable names in C?
निम्नलिखित में से कौन C में मान्य variable नाम नहीं हैं?

Questions No: 27/50

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

Questions No: 28/50

C Language developed at _________?
C लैंग्वेज कहा विकसित हुई ?

Questions No: 29/50

An array can be passed to a function by
किसी सरणी को फ़ंक्शन द्वारा पास किया जा सकता है

Questions No: 30/50

Which library function is used to find the length of a string in C?
C में स्ट्रिंग की लंबाई ज्ञात करने के लिए किस लाइब्रेरी फ़ंक्शन का उपयोग किया जाता है?

Questions No: 31/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: 32/50

What is the purpose of the #include directive in C?

Questions No: 33/50

which is used to converts an expression to a specified data type
जिसका उपयोग किसी expression को एक specified डेटा प्रकार में परिवर्तित करने के लिए किया जाता है

Questions No: 34/50

What happens if you use a break statement inside a nested loop?

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

Which one of the following is not a valid identifier?
निम्नलिखित में से कौन एक valid identifier नहीं है?

Questions No: 38/50

The keyword used to transfer control from a function back to the calling function is

Questions No: 39/50

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

Questions No: 40/50

What will be the output of the following code?

int x = 5;
printf("%d", ++x);

Questions No: 41/50

The following code ‘for(;;)’ represents an infinite loop. It can be terminated by.
निम्नलिखित कोड for(;;) के लिए अनंत लूप का प्रतिनिधित्व करता है। द्वारा इसे समाप्त किया जा सकता है।

Questions No: 42/50

What is the purpose of the sizeof operator in C?

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

Which of the following is not a correct data type in C
निम्नलिखित में से कौन सही डेटा प्रकार नहीं है?

Questions No: 46/50

Which of the following is not a valid C variable name?
निम्नलिखित में से कौन सी एक मान्य C variable नाम नहीं है?

Questions No: 47/50

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

Questions No: 48/50

What will be the output of the following program?

int main() 

int x=5; 
printf(“%d %d %d”,x,x<<2,x>>2); 
}

Questions No: 49/50

Which is invalid name of identifier?
identifier का अमान्य नाम कौन सा है?

Questions No: 50/50

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