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

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

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

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

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

What will be the output of the following code?

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

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

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

Questions No: 11/50

What is the correct syntax to output "Hello World" in C?

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

For 16 bit compiler allowable range for integer constants is
पूर्णांक स्थिरांक के लिए 16 बिट संकलक स्वीकार्य सीमा है

Questions No: 15/50

What is the output of the following code:

int x = 5;

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

Questions No: 16/50

Find the output of following code :

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

Questions No: 17/50

What is the size of the int data type (in bytes) in C?

Questions No: 18/50

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

b = 3;
a = b++;

Questions No: 19/50

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

Questions No: 20/50

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

Questions No: 21/50

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

Questions No: 22/50

Which is an incorrect variable name?
एक गलत variable नाम कौन सा है?

Questions No: 23/50

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

Questions No: 24/50

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

Questions No: 25/50

What is required in each C program?

Questions No: 26/50

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

Questions No: 27/50

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

Questions No: 28/50

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

Questions No: 29/50

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

Questions No: 30/50

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

Questions No: 31/50

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

Questions No: 32/50

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

Questions No: 33/50

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

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

What is the output of this statement

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

Questions No: 36/50

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

Questions No: 37/50

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

Questions No: 38/50

a C variable cannot start with
C variable किसके के साथ शुरू नहीं हो सकता

Questions No: 39/50

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

Questions No: 40/50

C was primarily developed as
C को मुख्य रूप से किसके लिए विकसित किया गया था

Questions No: 41/50

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

Questions No: 42/50

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

Questions No: 43/50

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

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

printf (%d, printf (infomax));

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

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

Questions No: 50/50

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