A system program that combines separately compiled modules of a program into a form suitable for execution is
A compiler for a high-level language that runs on one machine and produces code for a different machine is called
1 Crore+ students have signed up on EduRev. Have you? Download the App |
The __________ is a technique for building cross compilers for other machines
_________ was developed from the beginning as a cross compiler
If we compile the sam.c file with the command “gcc -o sam sam.c”, then the executable file will be
What will be output of the following code?
#include<stdio.h>
int main()
{
printf("%d\t",sizeof(6.5));
printf("%d\t",sizeof(90000));
printf("%d",sizeof('A'));
return 0;
}
What will be output of the following c code? ( according to GCC compiler)
#include<stdio.h>
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;
}
What will be output of the following c code?
#include<stdio.h>
int main()
{
const int *p;
int a=10;
p=&a;
printf("%d",*p);
return 0;
}
What will be output of the following c code?
#include<stdio.h>
int main()
{
int a= sizeof(signed) +sizeof(unsigned);
int b=sizeof(const)+sizeof(volatile);
printf("%d",a+++b);
return 0;
}
What will be output of the following c code?
#include<stdio.h>
int main()
{
volatile int a=11;
printf("%d",a);
return 0;
}
What will be output of the following c code?
#include<stdio.h>
const enum Alpha { X, Y=5, Z }p=10;
int main()
{
enum Alpha a,b;
a= X; b= Z;
printf("%d",a+b-p);
return 0;
}
26 videos|66 docs|30 tests
|
26 videos|66 docs|30 tests
|