For which of the following mode, the given command will assist to read and write to the file?
FILE *fopen("fileName.txt", Mode)
Note: There can be multiple correct answers to this question.
Consider the following code snippet, first printf statement prints a value 3, what value will be printed by the second printf statement?
(Note: No other new file descriptors are opened while executing this program)
int df1= dup(STDOUT_FILENO);
int df2= dup(STDOUT_FILENO);
Given the function prototype definition, which can take a variable number of arguments.
int func(X, ...);
If the arguments passed are of type double, Identify X.