C Language
Questions No: 1/50

What will be the output of the following code?

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

Questions No: 2/50

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

b = 3;
a = b++;

Questions No: 3/50

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

Questions No: 4/50

Consider the following code and How many bytes of memory will be allocated?

int *ptr = (int *)
malloc(10 * sizeof(int));

Questions No: 5/50

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

Questions No: 6/50

Which of the following is not a keyword in C?

Questions No: 7/50

Which of the following is an incorrect assignment statement ?
निम्नलिखित में से कौन एक गलत असाइनमेंट स्टेटमेंट है?

Questions No: 8/50

The do..while looping statement

Questions No: 9/50

Which of the following keywords is used to return a value from a function?

Questions No: 10/50

An array can be passed to a function by
किसी सरणी को फ़ंक्शन द्वारा पास किया जा सकता है

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

Which data type is most suitable for storing a number 65000 in a 32-bit system?
32-बिट सिस्टम में नंबर 65000 को संग्रहीत करने के लिए कौन सा डेटा प्रकार सबसे उपयुक्त है?

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

Which of the following is an exit controlled loop?

Questions No: 17/50

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

Questions No: 18/50

Which of the following cannot be used in identifiers?
निम्नलिखित में से कौन identifiers में इस्तेमाल नहीं किया जा सकता है?

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

Questions No: 23/50

What is the index of the first element in a C array?

Questions No: 24/50

Which function is used to close a file?

Questions No: 25/50

Which one of the following is not a keyword in C language?
C भाषा में निम्नलिखित में से कौन सा एक keyword नहीं है?

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

What is the output of the following code?

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

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

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

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

Questions No: 35/50

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

What is the purpose of the sizeof operator in C?

Questions No: 40/50

Which one is incorrect statement for C Language?
C भाषा के लिए कौन सा गलत कथन है?

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

Which is invalid name of identifier?
identifier का अमान्य नाम कौन सा है?

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

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

Questions No: 46/50

Which of the following correctly declares a function in C?

Questions No: 47/50

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

Questions No: 48/50

How many times will the following loop execute?

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

Questions No: 49/50

What is required in each C program?

Questions No: 50/50

which Input function does not show the character read from the input device
कौन सा इनपुट फ़ंक्शन इनपुट डिवाइस से पढ़ा गया चरित्र नहीं दिखाता है