C Language
Questions No: 1/50

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

Questions No: 2/50

Which function is used to close a file?

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

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

Questions No: 6/50

What is the size of an int data type?
int डेटा प्रकार का आकार क्या है?

Questions No: 7/50

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

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

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/50

Find the output of following code :

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

Questions No: 11/50

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

Questions No: 12/50

What is the output of the following code?

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

What will be the output of the following code?

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

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

What is the result of the following code: int a = 10, b = 20; printf("%d", a > b ? a : b);

Questions No: 20/50

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

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

What is the output of the following code?

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

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

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

Questions No: 27/50

What will the following code print?

int x = 5;
if (x = 0)
printf("Zero");
else
printf("Not zero");

Questions No: 28/50

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

Questions No: 29/50

C Programming Language was developed and written by
C प्रोग्रामिंग लैंग्वेज का विकास और लेखन द्वारा किया गया

Questions No: 30/50

What is the purpose of the #include directive in C?

Questions No: 31/50

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

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

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

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

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

Questions No: 36/50

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

Questions No: 37/50

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

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

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

Questions No: 40/50

Which of the following is an exit controlled loop?

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

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

Questions No: 43/50

What is the output of the following code?

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

Questions No: 44/50

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

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

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

Questions No: 47/50

Which of the following is not a keyword in C?

Questions No: 48/50

Which keyword is used to prevent any changes in the variable within a C program?
C प्रोग्राम के भीतर variable में किसी भी परिवर्तन को रोकने के लिए किस कीवर्ड का उपयोग किया जाता है?

Questions No: 49/50

printf (%d, printf (infomax));

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