MCA
Questions No: 1/50

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

Questions No: 2/50

Which of the following correctly accesses the fifth element of an array arr?

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

What will be the output of following program?

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

What is the output of the following code:

int x = 5;

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

Questions No: 10/50

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

Questions No: 11/50

Which of the following is the correct way to pass a pointer to a function?

Questions No: 12/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: 13/50

What is the difference between break and continue statements in loops?

Questions No: 14/50

Which operator is used to access the address of a variable?
किसी वेरिएबल के एड्रेस जानने के लिए किस ऑपरेटर का उपयोग किया जाता है?

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

What is the output of the following code?

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

Questions No: 19/50

Which of the following is false in ‘C’ Programming Language
निम्नलिखित में से कौन सी ’C’ प्रोग्रामिंग भाषा में गलत है

Questions No: 20/50

Which function in C is used to dynamically allocate memory?

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

Identify the correct sequence of steps to run a c program
सी प्रोग्राम चलाने के लिए चरणों के सही अनुक्रम को पहचानें

Questions No: 24/50

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

Questions No: 25/50

Which of the following correctly declares a function in C?

Questions No: 26/50

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

Questions No: 27/50

Which is valid C expression?
कौन सी मान्य C expression है?

Questions No: 28/50

Which of the following is true for variable names in C?
C में variable नामों में से कौन सा सही है?

Questions No: 29/50

Which of the following methods successfully gets the third element of an array named arr.
निम्नलिखित में से कौन सी विधि arr नामक सरणी के तीसरे तत्व को सफलतापूर्वक प्राप्त करती है।

Questions No: 30/50

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

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

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

Questions No: 33/50

How are String represented in memory in C?

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

What is required in each C program?

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

The && and | | operators
&& और | | ऑपरेटरों

Questions No: 46/50

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

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

Which of the following cannot be a variable name in C?
निम्नलिखित में से कौन सी में एक variable नाम नहीं हो सकता है?

Questions No: 49/50

Which function is used to close a file?

Questions No: 50/50

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