BCA
Questions No: 1/50

Which function is used to close a file?

Questions No: 2/50

Which of the following is a main clause?

Questions No: 3/50

What is the difference between a declaration and a definition of a variable?
variable के declaration और definition के बीच अंतर क्या है?

Questions No: 4/50

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

Questions No: 5/50

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

b = 3;
a = b++;

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

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

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

Questions No: 10/50

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

Questions No: 11/50

What is meant by multiple inheritance?

Questions No: 12/50

What will be the output of the following code?

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

Which of the following a not a basic data type used in C language?
निम्नलिखित में से कौन C language में प्रयुक्त एक basic data type नहीं है?

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

Find the output of following code :

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

Questions No: 26/50

Identify the sentence which uses an intransitive verb:

Questions No: 27/50

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

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

What is the output of the following code:

int x = 5;

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

The do..while looping statement

Questions No: 33/50

in C language the output of 14 % 4 is
सी भाषा में 14% 4 का आउटपुट है

Questions No: 34/50

If a is an integer variable, then a = 5/2 will return a value
यदि a एक integer variable है, तो a = 5/2 मान लौटाएगा

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

What does fseek() do?

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

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

Questions No: 40/50

Which of the following correctly declares a function in C?

Questions No: 41/50

What is the output of the following code?

int a = 5, b = 10;
if (a < b)
printf("a is less than b");
else
printf("a is greater than or equal to b");

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

What will be the output of the following code segment?

int x = 24, y = 39, z = 45;
z = x + y;
y = z - y;
x = z - y;
printf("\n%d %d %d", x, y, z);

Questions No: 47/50

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

Questions No: 48/50

What is the output of the following code?

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

Questions No: 49/50

What will be the output of the following code?

int main()
{
int x,y,z;
x='1'-'0';    /* line-1 */
y='a'-'b';    /* line-2 */
z=x+y;
printf("%d",z);
}

Questions No: 50/50

Which of the following is not a keyword in C?