MCA
Questions No: 1/50

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

Questions No: 2/50

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

Questions No: 3/50

What will be the output of the following code segment?

int x = 24, y = 39, z = 45;
z = x + y;
y = z - y;
x = z - y;
printf("\n%d %d %d", x, y, z);

Questions No: 4/50

What will be the output of the following code?

int main()
{
int x,y,z;
x='1'-'0';    /* line-1 */
y='a'-'b';    /* line-2 */
z=x+y;
printf("%d",z);
}

Questions No: 5/50

Standard ANSI C recognizes ______ number of keywords?
मानक ANSI C, कीवर्ड की ______ संख्या को पहचानता है?

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

What is the correct syntax to output "Hello World" in C?

Questions No: 10/50

if a=8, b=3 and c=-5 are integers, then value of a*b/c is
यदि a = 8, b = 3 और c = -5 integers हैं, तो a * b / c का मान है

Questions No: 11/50

Which keyword is used to prevent a variable from being modified?

Questions No: 12/50

What will the following code print?

int x = 5;
if (x = 0)
printf("Zero");
else
printf("Not zero");

Questions No: 13/50

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

Questions No: 14/50

In an assignment statement a=b; which of the following statement is true?
असाइनमेंट स्टेटमेंट में a = b; निम्नलिखित में से कौन सा कथन सत्य है?

Questions No: 15/50

What will be output if you will compile and execute the following c code?

int main()

int a=5; 
float b;
printf("%d",sizeof(++a+b));
printf(" %d",a); return 0;
}

Questions No: 16/50

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

Questions No: 17/50

C Programming Language was developed and written by
C प्रोग्रामिंग लैंग्वेज का विकास और लेखन द्वारा किया गया

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

The format identifier ‘%i’ is also used for _____ data type.
प्रारूप पहचानकर्ता % i ’का उपयोग _____ डेटा प्रकार के लिए भी किया जाता है।

Questions No: 22/50

The do…while looping statement

Questions No: 23/50

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

Questions No: 24/50

What will be the output of following program?

int main() 
{
  for(int c=1;c<5;++c); 
printf(“%d”,c); 
}

Questions No: 25/50

What is the output of the following code?

int a = 10, b = 5;
printf("%d", a / b);

Questions No: 26/50

Which of the following correctly declares a function in C?

Questions No: 27/50

The value obtained in the function is given back to main by using ________ keyword?
फ़ंक्शन में प्राप्त मान को ________ कीवर्ड का उपयोग करके मुख्य रूप से वापस दिया जाता है?

Questions No: 28/50

Header file for the sqrt() function is
Sqrt () फ़ंक्शन के लिए हैडर फ़ाइल है

Questions No: 29/50

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

Questions No: 30/50

Which of the following a not a basic data type used in C language?
निम्नलिखित में से कौन C language में प्रयुक्त एक basic data type नहीं है?

Questions No: 31/50

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

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

In C, what does the function fopen() return if it fails to open a file?

Questions No: 35/50

In C, if you pass an array as an argument to a function, what actually gets passed?
C में, यदि आप किसी फ़ंक्शन के तर्क के रूप में एक सरणी पास करते हैं, तो वास्तव में क्या पारित होता है?

Questions No: 36/50

Which data type is most suitable for storing a number 65000 in a 32-bit system?
32-बिट सिस्टम में नंबर 65000 को संग्रहीत करने के लिए कौन सा डेटा प्रकार सबसे उपयुक्त है?

Questions No: 37/50

In C, which function is used to obtain user input?

Questions No: 38/50

a C variable cannot start with
C variable किसके के साथ शुरू नहीं हो सकता

Questions No: 39/50

C programs are converted into machine language with the help of
C प्रोग्राम को मशीनी भाषा में किसकी मदद परिवर्तित किया जाता है

Questions No: 40/50

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

Questions No: 41/50

What will be the output of the following pseudo code ?

Integer a
Set a =4
do
print a + 2
      a = a-1
while (a not equals 0)
end while

Questions No: 42/50

What is the output of this statement

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

Questions No: 43/50

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

Questions No: 44/50

Which of the following language is predecessor to C Programming Language?
निम्नलिखित में से कौन सी भाषा C प्रोग्रामिंग लैंग्वेज की पूर्ववर्ती है?

Questions No: 45/50

Which of the following is the correct way to initialize a string in C?

Questions No: 46/50

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

Questions No: 47/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: 48/50

How are String represented in memory in C?

Questions No: 49/50

What is correct order of precedence in C?
C में पूर्वता का सही क्रम क्या है?

Questions No: 50/50

What is the output of the following code?

int a = 5;
printf("%d", a == 5);