download Mastguru Android App

Question Detail

Size of void pointer is

  • 1 byte
  • 2 byte
  • 4 byte
  • 8 byte
Similar Questions :

1. Out of following program :
float x = 10.7;
int i;

i = (int) x;
print i;

  • null
  • error
  • 10
  • garbage value

2. What will be the output of following program
#include
main()
{
int x,y = 10;
x = y * NULL;
printf(\"%d\",x);
}

  • error
  • 0
  • 10
  • Garbage value

3. Continue statement used for

  • To continue to the next line of code
  • To stop the current iteration and begin the next iteration from the beginning
  • To handle run time error
  • None of above

4. rand() function returns

  • float value
  • integer value
  • any type
  • none of above

5. We can insert pre written code in a C program by using

  • #read
  • #get
  • #include
  • #put
Read more from - C Programming Questions Answers - Chapter 1
Post a comment