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. Adding to a pointer that points to an array will

  • Cause an error
  • Increase the value of the element that the pointer is pointing to
  • Cause the pointer to point to the next element in the array
  • None of above

2. Can getch() be used to echo the input

  • Yes
  • No

3. Size of void pointer is

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte

4. A member is a

  • Variable in a structure
  • Datatype of structure
  • Structure pointer
  • None of above

5. What is wild pointer in c

  • a pointer which we need to write in future
  • a pointer which has bad naming convention
  • a pointer which has no limit
  • a point which has not initialized
Read more from - C Programming Questions Answers - Chapter 1