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

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

Questions No: 2/50

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

Questions No: 3/50

What is the output of the following code?

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

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

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

Questions No: 6/50

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

Questions No: 7/50

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

Questions No: 8/50

What will be the output of the following code?

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

Questions No: 9/50

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

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

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

Questions No: 12/50

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

Questions No: 13/50

Which of the following is true about interpreters?

Questions No: 14/50

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

Questions No: 15/50

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

Questions No: 16/50

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

Questions No: 17/50

Which one of the following is not a reserved keyword for C?
निम्नलिखित में से कौन सी C के लिए आरक्षित कीवर्ड नहीं है?

Questions No: 18/50

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

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

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

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

Which is valid C expression?
कौन सी मान्य C expression है?

Questions No: 25/50

Find the output of following code :

int main() 
{
int i=-2;
printf (“-i=%d”,-i);
return b;
}

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

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

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

Which of the following is the correct order of evaluation for the given expression? z = x + y * z / 4 % 2 - 1
निम्न expression के लिए मूल्यांकन का सही क्रम निम्नलिखित में से कौन सा है? z = x + y * z / 4% 2 - 1

Questions No: 31/50

printf (%d, printf (infomax));

Questions No: 32/50

What will be the output of the following code?

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

Questions No: 33/50

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

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

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

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

Questions No: 39/50

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

Questions No: 40/50

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

Questions No: 41/50

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

Questions No: 42/50

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

b = 3;
a = b++;

Questions No: 43/50

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

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

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

Questions No: 46/50

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

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

Which keyword is used to prevent a variable from being modified?

Questions No: 50/50

What is the output of the following code?

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