C Language
Questions No: 1/50

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

Questions No: 2/50

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

Questions No: 3/50

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

Questions No: 4/50

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

Questions No: 5/50

What happens if you use a break statement inside a nested loop?

Questions No: 6/50

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

Questions No: 7/50

Which function is used to close a file?

Questions No: 8/50

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

Questions No: 9/50

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

Questions No: 10/50

What is required in each C program?

Questions No: 11/50

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

Questions No: 12/50

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

Questions No: 13/50

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

Questions No: 14/50

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

Questions No: 15/50

Which of the following is the correct syntax for a for loop in C?

Questions No: 16/50

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

Questions No: 17/50

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

Questions No: 18/50

Which of the following is the correct way to pass a pointer to a function?

Questions No: 19/50

What will the following code print?

int x = 5;
if (x = 0)
printf("Zero");
else
printf("Not zero");

Questions No: 20/50

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

Questions No: 21/50

What is the output of the following code?

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

Questions No: 22/50

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

Questions No: 23/50

If a structure contains another structure as a member, it is called:

Questions No: 24/50

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

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

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

Questions No: 27/50

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

Questions No: 28/50

Function isdigit() is defined in ________ header file.
isdigit() फंक्शन किस हैडर फाइल में डिफाइन है

Questions No: 29/50

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

Questions No: 30/50

printf (%d, printf (infomax));

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

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

Questions No: 33/50

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

Questions No: 34/50

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

Questions No: 35/50

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

Questions No: 36/50

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

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

Questions No: 37/50

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

Questions No: 38/50

Which of the following loops in C is guaranteed to execute at least once?
C में निम्नलिखित में से कौन सा लूप कम से कम एक बार निष्पादित होने की गारंटी है?

Questions No: 39/50

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

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

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

Questions No: 42/50

Which of the following is a logical operator in C?

Questions No: 43/50

The following code ‘for(;;)’ represents an infinite loop. It can be terminated by.
निम्नलिखित कोड for(;;) के लिए अनंत लूप का प्रतिनिधित्व करता है। द्वारा इसे समाप्त किया जा सकता है।

Questions No: 44/50

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

Questions No: 45/50

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

Questions No: 46/50

How are String represented in memory in C?

Questions No: 47/50

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

Questions No: 48/50

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

Questions No: 49/50

Which of the following is not a keyword in C?

Questions No: 50/50

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