BCA
Questions No: 1/50

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

Questions No: 2/50

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

Questions No: 3/50

What is the output of the following code?

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

Questions No: 4/50

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

Questions No: 5/50

Find the output of following code :

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

Questions No: 6/50

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

Questions No: 7/50

What will be the output of following program?

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

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/50

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

b = 3;
a = b++;

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

Which control statement allows you to skip the remaining code inside a loop for the current iteration and proceed to the next iteration?

Questions No: 16/50

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

Questions No: 17/50

When a base class is privately inherited by a derived class, public members of the base class become _______members of the derived class
When a base class is privately inherited by a derived class, public members of the base class become ________members of the derived class

Questions No: 18/50

What does fseek() do?

Questions No: 19/50

a ‘C’ expression contains relational, assignment and arithmetic operators. There are no parentheses used. They will be evaluated in which of the following order
एक C expression में relational, assignment और arithmetic ऑपरेटर शामिल हैं। उपयोग किए गए कोई कोष्ठक नहीं हैं। उनका मूल्यांकन निम्न में से किस क्रम में किया जाएगा

Questions No: 20/50

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

Questions No: 21/50

Which function in C is used to dynamically allocate memory?

Questions No: 22/50

Which header file is necessary for using the malloc function?

Questions No: 23/50

What will the following code print?

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

Questions No: 24/50

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

Questions No: 25/50

What is the size of an int data type?
int डेटा प्रकार का आकार क्या है?

Questions No: 26/50

What is the output of this statement

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

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

Which programming method is followed in C language
C भाषा में किस प्रोग्रामिंग विधि का पालन किया जाता है

Questions No: 30/50

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

Questions No: 31/50

Which of the following loops in C is guaranteed to execute at least once?

Questions No: 32/50

Which of the following cannot be used in identifiers?
निम्नलिखित में से कौन identifiers में इस्तेमाल नहीं किया जा सकता है?

Questions No: 33/50

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

Questions No: 34/50

printf (%d, printf (infomax));

Questions No: 35/50

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

Questions No: 36/50

Raj said that he wanted an ice-cream. Which is the correct direct speech for this sentence?

Questions No: 37/50

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

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

What will happen if you try to access an array element out of its bounds in C?

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

The code of statements which may cause abnormal termination of the program should be written under which block?

Questions No: 43/50

Which statement is used to skip the current iteration of a loop in C++?

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

What does the word ‘turbulent’ mean?

Questions No: 47/50

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

Questions No: 48/50

Which sentence contains a complex sentence? 

Questions No: 49/50

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

Questions No: 50/50

Which of the following is a correct way to declare an integer variable in C?