C Language
Questions No: 1/50

What is the output of the following code?

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

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

In the following nested conditional statements, which branch will execute?

int x = 4;
if (x > 2) {
if (x < 5) {
printf("x is between 2 and 5");
}

else {
printf("x is 2 or less");
}

Questions No: 4/50

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

Questions No: 5/50

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

Questions No: 6/50

What is the purpose of the sizeof operator in C?

Questions No: 7/50

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

Questions No: 8/50

What will be the output of following program?

int main() 
{
  for(int c=1;c<5;++c); 
printf(“%d”,c); 
}

Questions No: 9/50

Which is correct with respect to the size of the data types?
डेटा प्रकारों के आकार के संबंध में कौन सा सही है?

Questions No: 10/50

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

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

What is correct order of precedence in C?
C में पूर्वता का सही क्रम क्या है?

Questions No: 15/50

Which function is used to close a file?

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

Which keyword is used to come out of a loop only for that iteration?
उस पुनरावृत्ति के लिए केवल लूप से बाहर आने के लिए किस कीवर्ड का उपयोग किया जाता है?

Questions No: 20/50

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

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

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

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

What is the output of the following code?

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

Questions No: 25/50

What is the difference between break and continue statements in loops?

Questions No: 26/50

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

Questions No: 27/50

The do..while looping statement

Questions No: 28/50

Which of the following function declaration need not have a return statement in its body?

Questions No: 29/50

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

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

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

Questions No: 32/50

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

Questions No: 33/50

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

Questions No: 34/50

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

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

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

Which one of the following is not a valid identifier?
निम्नलिखित में से कौन एक valid identifier नहीं है?

Questions No: 39/50

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

Questions No: 40/50

Which header file is necessary for using the malloc function?

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

If i = 8 and j = 5 are two integers, then the value of a=(i>0) || (j < 5) ; is

Questions No: 44/50

Which of the following is not a valid relational operator?
निम्नलिखित में से कौन वैध रिलेशनल ऑपरेटर नहीं है?

Questions No: 45/50

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

Questions No: 46/50

What will be the output of the following code?

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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