MCA
Questions No: 1/50

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

Questions No: 2/50

if a=8, b=3 and c=-5 are integers, then value of a*b/c is
यदि a = 8, b = 3 और c = -5 integers हैं, तो a * b / c का मान है

Questions No: 3/50

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

Questions No: 4/50

What does fseek() do?

Questions No: 5/50

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

Which one of the following are not valid variable names in C?
निम्नलिखित में से कौन C में मान्य variable नाम नहीं हैं?

Questions No: 10/50

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

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

Standard ANSI C recognizes ______ number of keywords?
मानक ANSI C, कीवर्ड की ______ संख्या को पहचानता है?

Questions No: 14/50

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

Questions No: 15/50

The do..while looping statement

Questions No: 16/50

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

Questions No: 17/50

Which of the following is true about interpreters?

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

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

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

Questions No: 23/50

Which of the following operators in C has the highest precedence?

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

Which of the following is a valid string constant?
निम्नलिखित में से कौन एक वैध string constant है?

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

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

Which library function is used to find the length of a string in C?
C में स्ट्रिंग की लंबाई ज्ञात करने के लिए किस लाइब्रेरी फ़ंक्शन का उपयोग किया जाता है?

Questions No: 32/50

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

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

Which of the following is an exit controlled loop?

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

In an assignment statement a=b; which of the following statement is true?
असाइनमेंट स्टेटमेंट में a = b; निम्नलिखित में से कौन सा कथन सत्य है?

Questions No: 37/50

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

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

C Language developed at _________?
C लैंग्वेज कहा विकसित हुई ?

Questions No: 40/50

The conditional operator ( ? : ) is also known as
Conditional operator (? : ) को और किस नाम से जाना जाता है

Questions No: 41/50

How many times will the following loop execute?

int j;
for(j = 1; j <= 10; j = j-1)
printf("INFOMAX");

Questions No: 42/50

Which of the following loops in C is guaranteed to execute at least once?
C में निम्नलिखित में से कौन सा लूप कम से कम एक बार निष्पादित होने की गारंटी है?

Questions No: 43/50

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

Questions No: 44/50

How many times is a do while loop guaranteed to loop?
लूप को लूप की गारंटी देते समय कितनी बार किया जाता है?

Questions No: 45/50

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

Questions No: 46/50

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

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

What is the output of the following code?

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

Questions No: 49/50

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

Questions No: 50/50

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