PPS Bit Bank-2
PPS Bit Bank-2
1 The function that is used to position a file feof( ) fclose() ftell( ) fseek( )
at the beginning is.
In which parameter passing Call by By value Call by value reference Call by byname call by by
2 mechanism, actual argument values reference
are unchanged?
3 If the mode includes b after the initial text file big text file binary file blueprint text
letter, what does it indicates?
6 If the file was not able to be opened, then the Null non-empty empty None
value returned by the fopen() routine
is
7 The operator used to access the * & .(Dot) |
structure member is
26 The process of calling a function using call by argument call by parameter call by value call by reference
pointers to pass the address of variables is
known as
29 In C language the Bit fields are used to Save time Save memory ) Change order of Save Program
allocation of memory
32 The operator used to find the size of sizeof() sizof() size of() size()
any variable
33 In union all members use No location same location Different location No stroage
The arguments which are passed to main Command line Actual arguments Format arguments None
34
() function are known as arguments
In --------- One or more members are Nested structure Self-referential
35 Array of structures Unions
referencing same type structure
37 union sample
{
Int a;
Float b; 4bytes 7 bytes 8 bytes 6 bytes
Char c;
}s;
Sizeof(s) is
43 ‘C‘ provides a facility for user defined Array Function Pointer Structure
data type using
concept
putw()
59 The function used for writing a character putc() fputs() fputchar()
to a file is
self-referential
A structure can be placed within another nested structure Parallel structure pointer
64 structure and is known as structure
#include <stdio.h>
int main()
{
enum days {MON=-1, TUE, WED=4,
THU, FRI, SAT};
printf("%d, %d, %d, %d, %d, %d",
MON, TUE, WED, THU, FRI, SAT);
return 0;
}
A structure tag declared One of the basic Pointer to the It is a type name
in stdio.h datatypes in c structure defined in stdio.h
FILE reserved word is defined in
81
stdio.h
Failure to
Trying to read a allocate
83 Which of the following causes an error file that doesn‘t Inability to write
memory with
exist data in a file. ALL of the above
the help of
malloc
In fseek() function , the position value 1 Beginning of file End of file Current position All
89 indicates
95 The name of the array refers to----- base last middle none
address