C Language
Questions No: 1/50

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

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

What will be the output of the following pseudo code ?

Integer a
Set a =4
do
print a + 2
      a = a-1
while (a not equals 0)
end while

Questions No: 4/50

All keywords in C are in
C में सभी कीवर्ड हैं

Questions No: 5/50

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

Questions No: 6/50

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

b = 3;
a = b++;

Questions No: 7/50

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

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/50

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

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

What is the output of this statement

printf("%d", (a++));

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

Which header file is necessary for using the malloc function?

Questions No: 17/50

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

Questions No: 18/50

Which of the following loops in C is guaranteed to execute at least once?

Questions No: 19/50

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

Questions No: 20/50

What is the output of the following code:

int x = 5;

printf("%d", x++);

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

Which of the following is an exit controlled loop?

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

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

Questions No: 26/50

Which of the following is not a keyword in C?

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

What will be the output of the following code?

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

Questions No: 32/50

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

Questions No: 33/50

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

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

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

What is the output of the following code?

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

Which of the following is the correct way to pass a pointer to a function?

Questions No: 45/50

What will be the output of the following code?

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

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

The do…while looping statement