BCA
Questions No: 1/50

What will be the output of the following code?

int a = 10, b = 20;
printf("%d", a + b);

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

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

b = 3;
a = b++;

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

In the passage of text, individual words and punctuation marks are known as
पाठ के मार्ग में, व्यक्तिगत शब्द और विराम चिह्न के रूप में जाना जाता है

Questions No: 9/50

Which function in C is used to dynamically allocate memory?

Questions No: 10/50

What is the purpose of the sizeof operator in C?

Questions No: 11/50

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

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

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

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

Which is an incorrect variable name?
एक गलत variable नाम कौन सा है?

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

Which of the following is not a keyword in C?

Questions No: 24/50

How are String represented in memory in C?

Questions No: 25/50

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

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

What is the output of the following code?

main()
{
int a, b; a=b=4;
b=a++;
printf("%d %d %d %d", a++, --b, ++a, b--);
}

Questions No: 37/50

Which of the following is a logical operator in C?

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

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

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

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

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

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

Questions No: 45/50

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

Questions No: 46/50

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

Questions No: 47/50

What does the word ‘turbulent’ mean?

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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