C-Command Line Arguments
C-Command Line Arguments
102. When a file is able to keep information about file that is called
- header byte
- Footer byte
- Slack byte
- None of the above
104. What will be the contents of a file
void main ()
{
FILE *p
p=fopen("letter.txt",w");
putc('D',p);
putc('e',p);
putc('a',p);
putc('r',p);
fseek(p,-3, SEEK_cur);
putc('i',p);
}
void main ()
{
FILE *p
p=fopen("letter.txt",w");
putc('D',p);
putc('e',p);
putc('a',p);
putc('r',p);
fseek(p,-3, SEEK_cur);
putc('i',p);
}
- Dear
- diar
- dear i
- None of the above
105. How many streams are opened when data is written from keyboard to buffer and bufer to file.
- One
- Two
- Three
- Four
107. When file is opened for read mode at that itme file pointer gives
- Fill level
- empty level
- Both a and b
- None of the above
109. 'putc' s a command to
- to write character into buffer
- to write character into stream
- to write character into monitor
- to read character into buffer
110. The file which contain main () function is called as
- Application file
- Module file
- Complete file
- None of these