81.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    char *str = "hello, world";
    char str1[15] = "hello wo 9";
    strcpy(str, str1);
    printf("%s", str1);
}

83.
What does the C statement given below says?
scanf("%7s",ch);

86.
Which is the correct way to generate numbers between minimum and maximum(inclusive)?

87.
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    char str[10] = "hello";
    char *str1 = "world";
    strncat(str, str1, 9);
    printf("%s", str);
}

Read More Section(File Input Output)

Each Section contains maximum 100 MCQs question on File Input Output. To get more questions visit other sections.