ExamVeda
Login
Home
61
Which one of the following is correct syntax for opening a file.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
62
What will be the output of the following C code (when 4 and 5 are entered)?
#include <stdio.h>
void main()
{
    int m, n;
    printf("enter a number");
    scanf("%d", &n);
    scanf("%d", &m);
    printf("%d\t%d\n", n, m);
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
63
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    int i = 10, j = 3;
    printf("%d %d %d", i, j);
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
64
What will cos(x) return?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
65
What will be the output of the following C code?
#include <stdio.h>
void main()
{
    int n;
    scanf("%d", n);
    printf("%d", n);
}
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
66
What will be the output of the following C code?
#include <stdio.h>
int main()
{
    short int i;
    scanf("%h*d", &i);
    printf("%hd", i);
    return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
67
Choose the right statement for fscanf() and scanf()
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
68
What is the function of the mode ' w+'?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
69
gets() does the following when it reads from stdin.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
70
What is the qualifying input for the type specifier G?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board