Menu

Cross Compiler Questions

MCQ
1.
A system program that combines separately compiled modules of a program into a form suitable for execution is called ___________
forum Discussion
MCQ
2.
A compiler for a high-level language that runs on one machine and produces code for a different machine is called ___________
forum Discussion
MCQ
3.
Cross-compiler is a compiler __________
forum Discussion
MCQ
4.
Cross compiler is used in Bootstrapping.
forum Discussion
MCQ
5.
Is GCC a cross Complier.
forum Discussion
MCQ
6.
GCC, a free software collection of compilers, also can be used as cross compile. It supports many languages and platforms.
forum Discussion
MCQ
7.
__________ was developed from the beginning as a cross compiler.
forum Discussion
MCQ
8.
If we compile the sam.c file with the command
forum Discussion
MCQ
9.
What will be output of the following code?

#include
int main()
{
    printf("%d\t",sizeof(6.5));
    printf("%d\t",sizeof(90000));
    printf("%d",sizeof('A'));
    return 0;
}
forum Discussion
MCQ
10.
What will be output of the following c code? ( according to GCC compiler)

#include
int main()
{
    signed x;
    unsigned y;
    x = 10 +- 10u + 10u +- 10;
    y = x;
    if(x==y)
         printf("%d %d",x,y);
    else if(x!=y)
         printf("%u  %u",x,y);
    return 0;
}
forum Discussion
Page 1 of 2Next chevron_right