BCA
Questions No: 1/50

What is the purpose of the return statement in a function?

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

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

Questions No: 4/50

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

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

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

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

Which of the following correctly declares a function in C?

Questions No: 9/50

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

Questions No: 10/50

Which function is used to close a file?

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

By default a real number is treated as a
डिफ़ॉल्ट रूप से एक वास्तविक संख्या को माना जाता है

Questions No: 14/50

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

Questions No: 15/50

Find the output of following code :

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

Questions No: 16/50

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

Questions No: 17/50

Which function in C is used to dynamically allocate memory?

Questions No: 18/50

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

Questions No: 19/50

Which one of the following is not a keyword in C language?
C भाषा में निम्नलिखित में से कौन सा एक keyword नहीं है?

Questions No: 20/50

The preprocessor directives start with
प्रीप्रोसेसर निर्देश के साथ शुरू होता है

Questions No: 21/50

Which of the following is not a keyword in C?

Questions No: 22/50

The format identifier ‘%i’ is also used for _____ data type.
प्रारूप पहचानकर्ता % i ’का उपयोग _____ डेटा प्रकार के लिए भी किया जाता है।

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

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

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

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

What is the purpose of the sizeof operator in C?

Questions No: 43/50

The do…while looping statement

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

What does fseek() do?

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

Which of the following is not a correct data type in C
निम्नलिखित में से कौन सही डेटा प्रकार नहीं है?

Questions No: 49/50

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

Questions No: 50/50

which is used to converts an expression to a specified data type
जिसका उपयोग किसी expression को एक specified डेटा प्रकार में परिवर्तित करने के लिए किया जाता है