DIT - Introduction To C Programming
Questions No: 1/50

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

Questions No: 2/50

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

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

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

Questions No: 5/50

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

Questions No: 6/50

Which of the following is not a keyword in C?

Questions No: 7/50

The conditional operator ( ? : ) is also known as
Conditional operator (? : ) को और किस नाम से जाना जाता है

Questions No: 8/50

The format identifier ‘%i’ is also used for _____ data type.
प्रारूप पहचानकर्ता % i ’का उपयोग _____ डेटा प्रकार के लिए भी किया जाता है।

Questions No: 9/50

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

Questions No: 10/50

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

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

Which of the following is true about interpreters?

Questions No: 14/50

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

Questions No: 15/50

in C language How will you print '\n' on the screen?
आप स्क्रीन पर '\ n' कैसे प्रिंट करेंगे?

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

Which numbering system is not handled directly by the printf() conversion specifies ?

Questions No: 21/50

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

Questions No: 22/50

if a=8, b=3 and c=-5 are integers, then value of a*b/c is
यदि a = 8, b = 3 और c = -5 integers हैं, तो a * b / c का मान है

Questions No: 23/50

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

Questions No: 24/50

What is the purpose of the sizeof operator in C?

Questions No: 25/50

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

Questions No: 26/50

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

Questions No: 27/50

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

b = 3;
a = b++;

Questions No: 28/50

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

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

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

Questions No: 31/50

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

Questions No: 32/50

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

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

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

Questions No: 35/50

Which of the following is a logical operator in C?

Questions No: 36/50

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

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

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

Questions No: 39/50

What is short int in C programming?
C प्रोग्रामिंग में शॉर्ट इंट क्या है?

Questions No: 40/50

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

Questions No: 41/50

What will be the output of the following code?

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

What will be the output of the following code?

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