C Programming
Questions No: 1/50

Which of the following is the correct syntax for declaring a 2D array in C?

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

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

Questions No: 4/50

The do..while looping statement

Questions No: 5/50

What will be the output of following program?

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

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

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

Questions No: 8/50

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

Questions No: 9/50

Which of the following is not a keyword in C?

Questions No: 10/50

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

Questions No: 11/50

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

Questions No: 12/50

In C, which function is used to obtain user input?

Questions No: 13/50

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

Questions No: 14/50

Which header file is necessary for using the malloc function?

Questions No: 15/50

Which of the following is not logical operator?
निम्नलिखित में से कौन तार्किक ऑपरेटर नहीं है?

Questions No: 16/50

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

b = 3;
a = b++;

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

Which of the following correctly accesses the fifth element of an array arr?

Questions No: 21/50

Which of the following is a logical operator in C?

Questions No: 22/50

Precedence is used
वरीयता का उपयोग किया जाता है

Questions No: 23/50

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

Questions No: 24/50

Which of the following methods successfully gets the third element of an array named arr.
निम्नलिखित में से कौन सी विधि arr नामक सरणी के तीसरे तत्व को सफलतापूर्वक प्राप्त करती है।

Questions No: 25/50

Which of the following correctly declares a function in C?

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

What does fseek() do?

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

How many times will the following loop execute?

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

Questions No: 33/50

which is used to converts an expression to a specified data type
जिसका उपयोग किसी expression को एक specified डेटा प्रकार में परिवर्तित करने के लिए किया जाता है

Questions No: 34/50

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

Questions No: 35/50

Which of the following is false in ‘C’ Programming Language
निम्नलिखित में से कौन सी ’C’ प्रोग्रामिंग भाषा में गलत है

Questions No: 36/50

Which of the following is true about interpreters?

Questions No: 37/50

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

Questions No: 38/50

How are String represented in memory in C?

Questions No: 39/50

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

Questions No: 40/50

Which function is used to close a file?

Questions No: 41/50

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

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

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

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

printf (%d, printf (infomax));