If the result overflows, the function returns the value of the macro HUGE_VAL, carrying the same sign except for the_________ function as the correct value of the function.
Answer: D
No answer description available for this question.
Enter details here
What will be the output of the program?
#include
int main()
{
int i;
i = printf("How r u\n");
i = printf("%d\n", i);
printf("%d\n", i);
return 0;
}
Answer: B
No answer description available for this question.
Enter details here
What will the function randomize() do in Turbo C under DOS?
Answer: D
No answer description available for this question.
Enter details here
Which of the following macros is defined under the header limits.h?
Answer: B
No answer description available for this question.
Enter details here
What will the following C code do on compilation?
void main ()
{
char com[50];
strcpy( com, "dir" );
system(com);
}
Answer: B
int system(const char *command) function is used to pass the command name or the program name specified by command to the host environment to be executed by the command processor and returns after the command has been completed.
Enter details here
HUGE_VAL macro is used when the output of the function may not be ___________
Answer: A
No answer description available for this question.
Enter details here
______ macro must be called before using ______ and ________
Answer: B
No answer description available for this question.
Enter details here
What is the purpose of fflush() function ?
Answer: A
No answer description available for this question.
Enter details here
What is the purpose of fflush() function.
Answer: A
"fflush()" flush any buffered output associated with filename, which is either a file opened for writing or a shell command for redirecting output to a pipe or coprocess.
Example:
fflush(FilePointer);
fflush(NULL); flushes all streams.
Enter details here
Which of the following library functions is used to read location dependent information?
Answer: B
No answer description available for this question.
Enter details here