ExamVeda
Login
Home
51
Suppose we transfer a file written on a little endian machine to a big endian machine and there is no transformation from little endian to big endian, then what happens?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
52
File formats which have . . . . . . . . as a basic unit are independent of endianness.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
53
What will be the output of the following C code?
#include<stdio.h>
static inline int max(int a, int b) 
{
  return a > b ? a : b;
}
main()
{
    int m;
    m=max(-6,-5);
    printf("%d",m);
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
54
Sign qualifiers can be applied to double.
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
55
What is the output of this C code?
#include <stdio.h>
main()
{
    char *p = "Examveda C-Test";
    p[0] = 'a';
    p[1] = 'b';
    printf("%s", p);
}
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
56
The following C code results in an error. State whether this statement is true or false.
#include <stdio.h>
void f(double b) 
{
    printf ("%ld\n",b);
}
int main() 
{
     inline f(100.56);
     return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
57
What will be the output of the following C code?
main()
{
    unsigned a=10;
    long unsigned b=5l;
    printf(“%lu%u”,a,b);
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
58
What is the binary representation of the integer -14?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
59
Functions in C Language are always . . . . . . . .
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
60
What will be the error in the following C code?
main()
{
    long float a=-25.373e22;
    printf("%lf",a);
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board