download Mastguru Android App

Question Detail

What will be output of
#include
void main()
{
char test =`S`;
printf("\n%c",test);
}

  • S
  • Error
  • Garbage value
  • None of above
Similar Questions :

1. Disadvantage of array in C is

  • We can easily access each element
  • It is necessary to declare too many variables
  • It can store only one similar type of data
  • None of above

2. If include files can be nested

  • Yes
  • No

3. The compiler in C ignores all text till the end of line using

  • //
  • /
  • */
  • none of above

4. Due to variable scope in c

  • Variables created in a function cannot be used another function
  • Variables created in a function can be used in another function
  • Variables created in a function can only be used in the main function
  • None of above

5. What is correct order of precedence in C

  • Addition, Division, Modulus
  • Addition, Modulus, Division
  • Multiplication, Substration, Modulus
  • Modulus, Multiplication, Substration
Read more from - C Programming Questions Answers - Chapter 1
Post a comment

  • janardhan 11 years ago

    #include<stdio.h>

  • Vera 12 years ago

    Can I simply say what a cmfoort to search out somebody who really knows just what they are sharing on the web. You definitely discover how to bring an issue to light and make it important. More people require to read it all and understand this particular side of the story. I can't believe you aren't very popular as you really have the gift.