MCA
Questions No: 1/50

What is required in each C program?

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

How many bytes does the int data type usually occupy in C?
C में int डेटा प्रकार आमतौर पर कितने बाइट्स लेता है?

Questions No: 5/50

Which is an incorrect variable name?
एक गलत variable नाम कौन सा है?

Questions No: 6/50

What will be the output of following program?

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

Questions No: 7/50

Consider the following code and How many bytes of memory will be allocated?

int *ptr = (int *)
malloc(10 * sizeof(int));

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/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: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

Find the output of following code :

int main() 
{
int i=-2;
printf (“-i=%d”,-i);
return b;
}

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/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: 20/50

Which of the following is a logical operator in C?

Questions No: 21/50

What is the purpose of the sizeof operator in C?

Questions No: 22/50

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

Questions No: 23/50

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

Questions No: 24/50

What is the output of the following code?

main()
{
int a, b; a=b=4;
b=a++;
printf("%d %d %d %d", a++, --b, ++a, b--);
}

Questions No: 25/50

What is the output of the following code?

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

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

Zero address instructions are necessarily used in _________ architecture.
ज़ीरो एड्रेस इंस्ट्रक्शन अनिवार्य रूप से _________ आर्किटेक्चर में उपयोग किए जाते हैं।

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

Which is the only C function all programs must contain?
एकमात्र C फ़ंक्शन कौन सा है जिसमें सभी प्रोग्राम होने चाहिए?

Questions No: 33/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: 34/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: 35/50

How many times is a do while loop guaranteed to loop?
लूप को लूप की गारंटी देते समय कितनी बार किया जाता है?

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

What is the output of the following code:

int x = 5;

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

What is the output of the following code?

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

Questions No: 46/50

Which of the following is not a keyword in C?

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/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");
 }