BCA
Questions No: 1/50

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

Questions No: 2/50

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

Questions No: 3/50

The do..while looping statement

Questions No: 4/50

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

Questions No: 5/50

Identify the part of speech underlined in the sentence: The room was quite spacious.

Questions No: 6/50

What does fseek() do?

Questions No: 7/50

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

Questions No: 8/50

Saloni is taller than her friend Riya. In this sentence, the word ‘taller’ is which degree of adjective?

Questions No: 9/50

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

Questions No: 10/50

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

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

Which of the following keywords is used to return a value from a function?

Questions No: 14/50

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

b = 3;
a = b++;

Questions No: 15/50

How are String represented in memory in C?

Questions No: 16/50

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

Questions No: 17/50

An exception is thrown using which keyword in C++?

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

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

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

Questions No: 20/50

Find the output of following code :

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

Questions No: 21/50

What is the final value of x when the code is executed?

int x; 
for(x=0; x<10; x++) 
{} 

Questions No: 22/50

When the features of one class may be inherited by more than one class. This process is known as ______

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

What will be the output of the following code?

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

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

The do…while looping statement

Questions No: 30/50

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

Questions No: 31/50

What is the output of the following code: int x = 5; printf("%d", x++);

Questions No: 32/50

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

Questions No: 33/50

Which header file is necessary for using the malloc function?

Questions No: 34/50

How many times will the following loop execute?

int j;
for(j = 1; j <= 10; j = j-1)
printf("INFOMAX");

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

pow(x,y) is used to
pow (x, y) का उपयोग किया जाता है

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

In C++, dynamic memory allocation is done using

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

What is required in each C program?

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

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

Questions No: 48/50

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

Questions No: 49/50

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

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