BCA
Questions No: 1/50

What is required in each C program?

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

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

Questions No: 4/50

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

b = 3;
a = b++;

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

If i = 8 and j = 5 are two integers, then the value of a=(i>0) || (j < 5) ; is

Questions No: 8/50

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

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

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

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

Which of the following function declaration need not have a return statement in its body?

Questions No: 13/50

What is the output of this statement

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

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

How would you round off a value from 1.66 to 2.0?
आप १.६६ से २.० के बीच के मूल्य को कैसे समाप्त करेंगे?

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

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

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

Which sentence contains a complex sentence? 

Questions No: 27/50

What is the role of the break statement in a loop?

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

The do..while looping statement

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

Which one is incorrect statement for C Language?
C भाषा के लिए कौन सा गलत कथन है?

Questions No: 33/50

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

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

Choose the preposition which is used in the idiom: to be  ____ the weather 

Questions No: 36/50

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

Questions No: 37/50

Which function in C is used to dynamically allocate memory?

Questions No: 38/50

What is the output of the following code?

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

Which statement is used to terminate the execution of a loop?

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

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

Questions No: 45/50

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

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

The do…while looping statement

Questions No: 49/50

Which header file is necessary for using the malloc function?

Questions No: 50/50

Which of the following leads to memory leaks in a C program?