Menu

Cross Compiler Questions

MCQ
11.
What will be output of the following c code?

#include
int main()
{
    const int *p;
    int a=10;
    p=&a;
    printf("%d",*p);
    return 0;
}
forum Discussion
MCQ
12.
What will be output of the following c code?

#include
int main()
{
    int a= sizeof(signed) +sizeof(unsigned);
    int b=sizeof(const)+sizeof(volatile);
    printf("%d",a+++b);
    return 0;
}
forum Discussion
MCQ
13.
Which of the following is integral data type?
forum Discussion
MCQ
14.
What will be output of the following c code?

#include
int main()
{
    volatile int a=11;
    printf("%d",a);
    return 0;
}
forum Discussion
MCQ
15.
What will be output of the following c code?

#include
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; 
}
forum Discussion
chevron_left BackPage 2 of 2