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. Break statement is used for

  • Quit a program
  • Quit the current iteration
  • Both of above
  • None of above

2. Structures can be used

  • to hold different datatypes
  • have pointers to structures
  • to assign to one another
  • all of above

3. The first expression in a for loop is

  • Step value of loop
  • Value of the counter variable
  • Any of above
  • None of above

4. Exit() is same as return

  • TRUE
  • FALSE

5. Any type of modification on the parameter inside the function will reflect in actual variable value can be related to

  • call by value
  • call by reference
  • both of above
  • none of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment

  • janardhan 10 years ago

    #include<stdio.h>

  • Vera 11 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.