ExamLookup
Menu mobile
Home
Current Affairs
General Knowledge
Computer
Python
HTML
MCQ C LANGUAGE QUIZ C LANGUAGE MCQ Questions C LANGUAGE Questions Answer for Interview
English
Hindi
Question No. -
381
Report Bug
Which function will return the current file position for stream?
कौन सा फ़ंक्शन स्ट्रीम के लिए वर्तमान फ़ाइल स्थिति लौटाएगा?
कौन सा फ़ंक्शन स्ट्रीम के लिए वर्तमान फ़ाइल स्थिति लौटाएगा?
A.
fgetpos()
B.
fseek()
C.
ftell()
D.
fsetpos()
Explanation
The current file position is returned by ftell() function for stream, or -1L on error.
Question No. -
382
Report Bug
Choose the correct difference between getc() and fgetc().
Getc () और fgetc () के बीच सही अंतर चुनें।
Getc () और fgetc () के बीच सही अंतर चुनें।
A.
If it is not a macro, it may evaluate stream more than once
B.
if it is amacro, it may not evaluate stream more than once
C.
if it is a macro, it may evaluate stream more than once
D.
no difference between fgetc() and getc()
Explanation
getc() is equivalent to fgetc() except that if it is a macro, it may evaluate more than once.
Question No. -
383
Report Bug
In C language, FILE is of which data type?
C भाषा में, FILE किस डेटा प्रकार की है?
C भाषा में, FILE किस डेटा प्रकार की है?
A.
int
B.
char *
C.
struct
D.
None of the mentioned
Question No. -
384
Report Bug
Which type of files can’t be opened using fopen()?
किस प्रकार की फाइलें fopen () का उपयोग करके नहीं खोली जा सकती हैं?
किस प्रकार की फाइलें fopen () का उपयोग करके नहीं खोली जा सकती हैं?
A.
.txt
B.
.bin
C.
.c
D.
none of the mentioned
Question No. -
385
Report Bug
Which of the following are themselves a collection of different data types?
निम्नलिखित में से कौन स्वयं विभिन्न डेटा प्रकारों का एक संग्रह है?
निम्नलिखित में से कौन स्वयं विभिन्न डेटा प्रकारों का एक संग्रह है?
A.
string
B.
structures
C.
char
D.
all of the mentioned
Question No. -
386
Report Bug
User-defined data type can be derived by
उपयोगकर्ता द्वारा परिभाषित डेटा प्रकार द्वारा प्राप्त किया जा सकता है
उपयोगकर्ता द्वारा परिभाषित डेटा प्रकार द्वारा प्राप्त किया जा सकता है
A.
struct
B.
enum
C.
typedef
D.
all of the mentioned
Question No. -
387
Report Bug
Which operator connects the structure name to its member name?
कौन सा ऑपरेटर संरचना के नाम को उसके सदस्य के नाम से जोड़ता है?
कौन सा ऑपरेटर संरचना के नाम को उसके सदस्य के नाम से जोड़ता है?
A.
- (Minus)
B.
<- (Left Arrow)
C.
. (Dot)
D.
Both <- and .
Question No. -
388
Report Bug
Which of the following cannot be a structure member?
निम्नलिखित में से कौन एक संरचना सदस्य नहीं हो सकता है?
निम्नलिखित में से कौन एक संरचना सदस्य नहीं हो सकता है?
A.
Another structure
B.
Function
C.
Array
D.
None of the mentioned
Question No. -
389
Report Bug
Which datatype can accept the switch statement?
कौन सा डेटाटाइप स्विच स्टेटमेंट स्वीकार कर सकता है?
कौन सा डेटाटाइप स्विच स्टेटमेंट स्वीकार कर सकता है?
A.
int
B.
char
C.
long
D.
all of the mentioned
Question No. -
390
Report Bug
Which loop is most suitable to first perform the operation and then test the condition?
पहले ऑपरेशन करने और फिर स्थिति का परीक्षण करने के लिए कौन सा लूप सबसे उपयुक्त है?
पहले ऑपरेशन करने और फिर स्थिति का परीक्षण करने के लिए कौन सा लूप सबसे उपयुक्त है?
A.
For loop
B.
While loop
C.
do-while loop
D.
None of the mentioned
Question No. -
391
Report Bug
The value obtained in the function is given back to main by using ________ keyword.
फ़ंक्शन में प्राप्त मान को ________ कीवर्ड का उपयोग करके मुख्य रूप से वापस दिया जाता है।
फ़ंक्शन में प्राप्त मान को ________ कीवर्ड का उपयोग करके मुख्य रूप से वापस दिया जाता है।
A.
return
B.
static
C.
new
D.
volatile
Question No. -
392
Report Bug
Global variables are
Global variables are
Global variables are
A.
Internal
B.
External
C.
Both Internal and External
D.
None of the mentioned
Question No. -
393
Report Bug
What is the scope of an external variable?
बाहरी चर का दायरा क्या है?
बाहरी चर का दायरा क्या है?
A.
Whole source file in which it is defined
B.
From the point of declaration to the end of the file in which it is defined
C.
Any source file in a program
D.
From the point of declaration to the end of the file being compiled
Question No. -
394
Report Bug
Which data type can be stored in register?
कौन सा डेटा प्रकार रजिस्टर में संग्रहीत किया जा सकता है?
कौन सा डेटा प्रकार रजिस्टर में संग्रहीत किया जा सकता है?
A.
int
B.
long
C.
float
D.
All of the mentioned
Question No. -
395
Report Bug
Which of the following operation is not possible in a register variable?
निम्नलिखित में से कौन सा ऑपरेशन एक रजिस्टर चर में संभव नहीं है?
निम्नलिखित में से कौन सा ऑपरेशन एक रजिस्टर चर में संभव नहीं है?
A.
Reading the value into a register variable
B.
Copy the value from a memory variable
C.
Global declaration of register variable
D.
All of the mentioned
Question No. -
396
Report Bug
Which among the following is the correct syntax to declare a static variable register?
स्थैतिक चर रजिस्टर घोषित करने के लिए निम्नलिखित में से कौन सा वाक्यविन्यास सही है?
स्थैतिक चर रजिस्टर घोषित करने के लिए निम्नलिखित में से कौन सा वाक्यविन्यास सही है?
A.
static register a;
B.
register static a;
C.
Both static register a; and register static a;
D.
We cannot use static and register together
Question No. -
397
Report Bug
Register variables reside in
रजिस्टर चर में रहते हैं
रजिस्टर चर में रहते हैं
A.
stack
B.
registers
C.
heap
D.
main memory
Question No. -
398
Report Bug
What is the scope of an automatic variable?
स्वचालित चर का दायरा क्या है?
स्वचालित चर का दायरा क्या है?
A.
Within the block it appears
B.
Within the blocks of the block it appears
C.
Until the end of program
D.
Within the block it appears & Within the blocks of the block it appears
Question No. -
399
Report Bug
Automatic variables are allocated space in the form of a
स्वचालित चर को एक के रूप में स्थान आवंटित किया जाता है
स्वचालित चर को एक के रूप में स्थान आवंटित किया जाता है
A.
stack
B.
queue
C.
priority queue
D.
random
Question No. -
400
Report Bug
Which of the following is a storage specifier?
निम्नलिखित में से कौन एक भंडारण विनिर्देशक है?
निम्नलिखित में से कौन एक भंडारण विनिर्देशक है?
A.
enum
B.
union
C.
auto
D.
volatile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
O Level NIELIT Study material and Quiz
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Exam Quiz
Website development Company in Allahabad